diff options
author | 7heo <7heo@mail.com> | 2016-08-29 16:09:55 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-29 16:59:30 +0200 |
commit | 428fa757b07bb28c5a9d633d91354221579ffa31 (patch) | |
tree | c31a0e6162f0e732e7b31510b5451e31cada3869 /community/gogs/gogs.initd | |
parent | d28f27dbd511685428d8b7af191ac1e9de7c861a (diff) | |
download | aports-428fa757b07bb28c5a9d633d91354221579ffa31.tar.bz2 aports-428fa757b07bb28c5a9d633d91354221579ffa31.tar.xz |
testing/gogs: move to community
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 +} |