www-apps/gotify-server-bin: Fix OpenRC init script
This commit is contained in:
parent
c49bb2393c
commit
4724384b03
@ -7,10 +7,13 @@ description="gotify server (bin)"
|
|||||||
command="/usr/bin/${name}"
|
command="/usr/bin/${name}"
|
||||||
pidfile="/run/${name}.pid"
|
pidfile="/run/${name}.pid"
|
||||||
logdir="/var/log/${name}"
|
logdir="/var/log/${name}"
|
||||||
start_stop_daemon_args="--background --make-pidfile --pidfile ${pidfile} --user gotify:gotify --chdir /var/lib/gotify --stdout ${logdir}/${name}.log --stderr ${logdir}/error.log"
|
command_background="yes"
|
||||||
|
command_user="gotify:gotify"
|
||||||
|
directory="/var/lib/gotify"
|
||||||
|
output_log="${logdir}/${name}.log"
|
||||||
|
error_log="${logdir}/error.log"
|
||||||
|
|
||||||
depend() {
|
depend() {
|
||||||
need net
|
need net
|
||||||
use dns
|
use dns
|
||||||
after logger
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user