From 1126f1f12e58e8a76888ddd69705f0c9c07f6a06 Mon Sep 17 00:00:00 2001 From: awieczarek Date: Wed, 23 Oct 2024 13:03:48 +0200 Subject: [PATCH] Test --- parse_db_url.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parse_db_url.sh b/parse_db_url.sh index 1aea410..9f1f6b5 100644 --- a/parse_db_url.sh +++ b/parse_db_url.sh @@ -12,9 +12,9 @@ NAME=$(echo $DATABASE_URL | sed -e 's,.*/\(.*\)$,\1,') SSL_MODE="require" printf "\n[server]\n" >> /var/lib/gitea/custom/conf/app.ini -printf "HTTP_PORT = $PORT\n" > /var/lib/gitea/custom/conf/app.ini +printf "HTTP_PORT = $PORT\n" >> /var/lib/gitea/custom/conf/app.ini -printf "[database]\n" > /var/lib/gitea/custom/conf/app.ini +printf "[database]\n" >> /var/lib/gitea/custom/conf/app.ini printf "DB_TYPE = $DB_TYPE\n" >> /var/lib/gitea/custom/conf/app.ini printf "HOST = $HOST:$PORT\n" >> /var/lib/gitea/custom/conf/app.ini printf "NAME = $NAME\n" >> /var/lib/gitea/custom/conf/app.ini