1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 12:15:32 +03:00
aports/community/gitea/gitea.initd
2017-03-22 12:47:44 +01:00

14 lines
344 B
Text

#!/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
}