fix: bad logic prevented start
This commit is contained in:
parent
45674db0b5
commit
ed5fc1d33d
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ case $1 in
|
||||||
rm "${pid}"
|
rm "${pid}"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
test -f "${pid}" || exit 1
|
test -f "${pid}" && exit 1
|
||||||
|
|
||||||
daemonize -c /srv/pocketbase -p $pid -u nobody \
|
daemonize -c /srv/pocketbase -p $pid -u nobody \
|
||||||
/usr/local/bin/syslogize \
|
/usr/local/bin/syslogize \
|
||||||
|
|
Loading…
Reference in a new issue