mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-02 07:11:47 +01:00
17 lines
378 B
Bash
17 lines
378 B
Bash
#!/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"
|
|
capabilities="^cap_net_bind_service"
|
|
|
|
depend() {
|
|
use logger dns
|
|
need net
|
|
after firewall
|
|
}
|