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

name=gitea
command="/usr/bin/gitea"
command_args="web"
start_stop_daemon_args="--user ${GITEA_USER:-gitea} --env GITEA_CUSTOM=${GITEA_CUSTOM:-/var/lib/gitea} --chdir ${GITEA_CUSTOM:-/var/lib/gitea}"
command_background=yes
pidfile="/run/gitea.pid"

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