mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 12:15:32 +03:00
15 lines
349 B
Text
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
|
|
}
|