1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 12:15:32 +03:00
aports/testing/gitea/gitea.initd
2017-01-18 10:39:06 +01:00

15 lines
349 B
Text

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