diff options
Diffstat (limited to 'testing/gogs/gogs.initd')
-rw-r--r-- | testing/gogs/gogs.initd | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/gogs/gogs.initd b/testing/gogs/gogs.initd new file mode 100644 index 0000000000..14134718a1 --- /dev/null +++ b/testing/gogs/gogs.initd @@ -0,0 +1,14 @@ +#!/sbin/runscript + +name=gogs +command="/usr/bin/gogs" +command_args="web" +start_stop_daemon_args="${GOGS_USER:+--user} $GOGS_USER --env GOGS_CUSTOM=$GOGS_CUSTOM" +pidfile="/var/run/gogs.pid" +command_background="yes" + +depend() { + use logger dns + need net + after firewall +} |