From 428fa757b07bb28c5a9d633d91354221579ffa31 Mon Sep 17 00:00:00 2001 From: 7heo <7heo@mail.com> Date: Mon, 29 Aug 2016 16:09:55 +0200 Subject: testing/gogs: move to community --- community/gogs/gogs.initd | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 community/gogs/gogs.initd (limited to 'community/gogs/gogs.initd') 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 +} -- cgit v1.2.3