mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
19 lines
No EOL
345 B
Text
19 lines
No EOL
345 B
Text
#!/sbin/openrc-run
|
|
|
|
name=gonic
|
|
command="/usr/bin/gonic"
|
|
command_args="$GONIC_OPTS"
|
|
command_background=true
|
|
pidfile="/var/run/${RC_SVCNAME}.pid"
|
|
error_log="/var/log/gonic.log"
|
|
command_user="gonic:gonic"
|
|
|
|
start_pre() {
|
|
checkpath -W --owner "$command_user" --mode 0644 \
|
|
/var/log/gonic.log
|
|
}
|
|
|
|
depend() {
|
|
need net
|
|
after firewall
|
|
} |