Skip to content

Commit

Permalink
www-apps/gitea: Fix initscript
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.3.3
  • Loading branch information
mrueg committed Dec 25, 2016
1 parent 0fefadf commit b255b7e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions www-apps/gitea/files/gitea.initd
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit b255b7e

Please sign in to comment.