From 949e8d86963db443410da68b69d2869650ad2494 Mon Sep 17 00:00:00 2001 From: awieczarek Date: Sun, 20 Oct 2024 16:06:54 +0200 Subject: [PATCH] Test --- parse_db_url.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/parse_db_url.sh b/parse_db_url.sh index 9d1fe44..1e480e6 100644 --- a/parse_db_url.sh +++ b/parse_db_url.sh @@ -6,4 +6,7 @@ export GITEA__database__PASSWD=$(echo ${DATABASE_URL} | sed -r "s|.*://[^:]+:([^ export GITEA__database__HOST=$(echo ${DATABASE_URL} | sed -r "s|.*@([^:]+):.*|\1|") export GITEA__database__NAME=$(echo ${DATABASE_URL} | sed -r "s|.*:([0-9]+)/([^?]+).*|\2|") -exec /usr/local/bin/gitea web -port $PORT & +echo $DATABASE_URL +echo $GITEA__database__NAME + +exec /usr/local/bin/gitea web -port $PORT