From 8cc05ffbebb72d8bf20b1c46ad8bdb53881c9970 Mon Sep 17 00:00:00 2001 From: mathiascode <mail@mathias.is> Date: Sun, 2 Aug 2020 14:57:35 +0300 Subject: [PATCH] Ensure the alive checker is always stopped --- script/server.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/server.sh b/script/server.sh index 08b6133..775f2b3 100755 --- a/script/server.sh +++ b/script/server.sh @@ -34,7 +34,7 @@ while true; do # Stop alive checker (will be started again on the next run) - killall alivecheck.sh + pkill -9 alivecheck.sh # Ensure we don't abuse the CPU in case of failure sleep 1