concordia-server/scripts/cmake_stubs/watchdog.sh.in
2015-12-14 15:43:33 +01:00

8 lines
156 B
Bash
Executable File

#!/bin/bash
if [ ! "$(pidof concordia_server_process)" ]
then
@SCRIPTS_PATH@/restart.sh
echo `date` "restarted" >> @SCRIPTS_PATH@/watchdog.log
fi