diff options
Diffstat (limited to 'community/gogs/gogs.initd')
-rw-r--r-- | community/gogs/gogs.initd | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/community/gogs/gogs.initd b/community/gogs/gogs.initd new file mode 100644 index 0000000000..b4ac34b3c8 --- /dev/null +++ b/community/gogs/gogs.initd @@ -0,0 +1,15 @@ +#!/sbin/openrc-run + +name=gogs +conffile="$GOGS_CUSTOM/conf/app.ini" +command="/usr/bin/gogs" +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" + +depend() { + use logger dns + need net + after firewall +} |