From ed5fc1d33de1ab8c9d66c45ef86dc8effb1a2921 Mon Sep 17 00:00:00 2001 From: f Date: Tue, 12 Dec 2023 14:19:05 -0300 Subject: [PATCH] fix: bad logic prevented start --- pocketbased.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pocketbased.sh b/pocketbased.sh index 5fcd92b..aef9fe2 100755 --- a/pocketbased.sh +++ b/pocketbased.sh @@ -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 \