diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2016-12-25 22:14:28 +0100 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2016-12-25 22:14:28 +0100 |
commit | b255b7ea7c7f52b40e3012daf5530d7c1152274f (patch) | |
tree | a4eb33b0967aa1b269f2c4f28a76c86701265583 /www-apps | |
parent | www-apps/gitea: Use git user by default (diff) | |
download | gentoo-b255b7ea7c7f52b40e3012daf5530d7c1152274f.tar.gz gentoo-b255b7ea7c7f52b40e3012daf5530d7c1152274f.tar.bz2 gentoo-b255b7ea7c7f52b40e3012daf5530d7c1152274f.zip |
www-apps/gitea: Fix initscript
Package-Manager: portage-2.3.3
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/gitea/files/gitea.initd | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/www-apps/gitea/files/gitea.initd b/www-apps/gitea/files/gitea.initd index a9aaac7ee378..44cb5421fabb 100644 --- a/www-apps/gitea/files/gitea.initd +++ b/www-apps/gitea/files/gitea.initd @@ -5,13 +5,14 @@ description="Gitea, a self-hosted Git service" pidfile=${pidfile:-"/run/${SVCNAME}/${SVCNAME}.pid"} -user=${user:-${SVCNAME}} -group=${group:-${SVCNAME}} +user=${user:-git} +group=${group:-git} 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_CUSTOM=/var/lib/gitea --stdout /var/log/${SVCNAME}/${SVCNAME}.log \ --stderr /var/log/${SVCNAME}/${SVCNAME}.log" |