www-apps/gotify-server-bin: Fix OpenRC init script

This commit is contained in:
tastytea 2021-12-15 23:41:06 +01:00
parent c49bb2393c
commit 4724384b03
Signed by untrusted user: tastytea
GPG Key ID: CFC39497F1B26E07

View File

@ -7,10 +7,13 @@ description="gotify server (bin)"
command="/usr/bin/${name}"
pidfile="/run/${name}.pid"
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() {
need net
use dns
after logger
}