clear leftover pid files

This commit is contained in:
Georges-Antoine Assi
2024-04-28 09:10:10 -04:00
parent a2b369b64a
commit f2f2b3b0cd

View File

@@ -120,6 +120,9 @@ cd /backend || { error_log "/backend directory doesn't seem to exist"; }
info_log "Starting up, please wait..."
# clear any leftover PID files
rm /tmp/*.pid -f
# function definition done, lets start our main loop
while true; do
# check for died processes every 5 seconds