aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gitea/gitea.initd
blob: 3b18678b6b70bd88f5db087a210fbabfc464f753 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/sbin/openrc-run

name=gitea
conffile="$GITEA_CUSTOM/conf/app.ini"
command="/usr/bin/gitea"
command_args="web -c $conffile"
start_stop_daemon_args="${GITEA_USER:+--user} $GITEA_USER --env GITEA_CUSTOM=$GITEA_CUSTOM"
pidfile="/var/run/gitea.pid"
command_background="yes"

depend() {
        use logger dns
        need net
        after firewall
}