mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-26 04:35:39 +03:00
15 lines
341 B
Text
15 lines
341 B
Text
#!/sbin/openrc-run
|
|
|
|
name=gogs
|
|
conffile="$GOGS_CUSTOM/conf/app.ini"
|
|
command="/usr/bin/gogs"
|
|
command_args="web -c $conffile"
|
|
start_stop_daemon_args="${GOGS_USER:+--user} $GOGS_USER --env GOGS_CUSTOM=$GOGS_CUSTOM"
|
|
pidfile="/var/run/gogs.pid"
|
|
command_background="yes"
|
|
|
|
depend() {
|
|
use logger dns
|
|
need net
|
|
after firewall
|
|
}
|