diff options
Diffstat (limited to 'www-apps/gitea/files/gitea.initd-r1')
-rw-r--r-- | www-apps/gitea/files/gitea.initd-r1 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/www-apps/gitea/files/gitea.initd-r1 b/www-apps/gitea/files/gitea.initd-r1 index 837164aa0140..6f957d426c08 100644 --- a/www-apps/gitea/files/gitea.initd-r1 +++ b/www-apps/gitea/files/gitea.initd-r1 @@ -1,5 +1,5 @@ #!/sbin/openrc-run -# Copyright 2016-2018 Gentoo Foundation +# Copyright 2016-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 description="Gitea, a self-hosted Git service" @@ -11,7 +11,8 @@ command="/usr/bin/gitea web" command_args="${command_args:--config /var/lib/gitea/conf/app.ini}" command_background="true" start_stop_daemon_args="--user ${user} --group ${group} \ - -e GITEA_WORK_DIR=/var/lib/gitea + -e GITEA_WORK_DIR=${GITEA_WORK_DIR:-/var/lib/gitea} \ + -e GITEA_CUSTOM=${GITEA_CUSTOM:-/var/lib/gitea} \ --stdout /var/log/${SVCNAME}/${SVCNAME}.log \ --stderr /var/log/${SVCNAME}/${SVCNAME}.log" |