aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gogs/gogs.initd
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-04-20 17:22:55 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2015-04-20 17:23:03 +0200
commita8c9452678685e2a50789e4844d97cd4e3ddf0c9 (patch)
tree89945554cf81d3731122bce6196bc1d33e07474d /testing/gogs/gogs.initd
parent699cc620bce3fdfb9cdd601aba587e35cfbf7f17 (diff)
downloadaports-a8c9452678685e2a50789e4844d97cd4e3ddf0c9.tar.bz2
aports-a8c9452678685e2a50789e4844d97cd4e3ddf0c9.tar.xz
testing/gogs: new aport
Diffstat (limited to 'testing/gogs/gogs.initd')
-rw-r--r--testing/gogs/gogs.initd14
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
+}