aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gogs/gogs.initd
blob: 14134718a1da7ab956f1b46f5e4a0701db77f3e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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
}