diff options
Diffstat (limited to 'testing/gogs/gogs.initd')
-rw-r--r-- | testing/gogs/gogs.initd | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/testing/gogs/gogs.initd b/testing/gogs/gogs.initd index 14134718a1..b4ac34b3c8 100644 --- a/testing/gogs/gogs.initd +++ b/testing/gogs/gogs.initd @@ -1,8 +1,9 @@ -#!/sbin/runscript +#!/sbin/openrc-run name=gogs +conffile="$GOGS_CUSTOM/conf/app.ini" command="/usr/bin/gogs" -command_args="web" +command_args="web -c $conffile" start_stop_daemon_args="${GOGS_USER:+--user} $GOGS_USER --env GOGS_CUSTOM=$GOGS_CUSTOM" pidfile="/var/run/gogs.pid" command_background="yes" |