fix: bad logic prevented start
Some checks failed
ci/woodpecker/push/woodpecker/1 Pipeline failed
ci/woodpecker/push/woodpecker/3 Pipeline was successful
ci/woodpecker/push/woodpecker/2 Pipeline was successful

This commit is contained in:
f 2023-12-12 14:19:05 -03:00
parent 45674db0b5
commit ed5fc1d33d
No known key found for this signature in database

View file

@ -9,7 +9,7 @@ case $1 in
rm "${pid}"
;;
*)
test -f "${pid}" || exit 1
test -f "${pid}" && exit 1
daemonize -c /srv/pocketbase -p $pid -u nobody \
/usr/local/bin/syslogize \