summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kriese <michael.kriese@visualon.de>2022-02-01 21:18:57 +0100
committerGitHub <noreply@github.com>2022-02-01 20:18:57 +0000
commitde05d71b40fe2adfdd2da9caba083707cbd06672 (patch)
treecf14f40775a7afcb023e1dd125adde61fac45ac5
parent24d39ee6b72fd121810977b7d9af7e8448442ff8 (diff)
downloadgitea-de05d71b40fe2adfdd2da9caba083707cbd06672.tar.gz
gitea-de05d71b40fe2adfdd2da9caba083707cbd06672.zip
In docker rootless use $GITEA_APP_INI if provided (#18524)
-rw-r--r--docker/rootless/usr/local/bin/gitea2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/rootless/usr/local/bin/gitea b/docker/rootless/usr/local/bin/gitea
index 5fdadfb3fe..1b33ca8547 100644
--- a/docker/rootless/usr/local/bin/gitea
+++ b/docker/rootless/usr/local/bin/gitea
@@ -32,7 +32,7 @@ for i in "$@"; do
done
if [ -z "$APP_INI_SET" ]; then
- CONF_ARG="-c \"$APP_INI\""
+ CONF_ARG="-c \"${GITEA_APP_INI:-$APP_INI}\""
fi