concordia-server/scripts/cmake_stubs/watchdog.sh.in

8 lines
156 B
Bash
Raw Normal View History

2015-12-14 15:43:33 +01:00
#!/bin/bash
if [ ! "$(pidof concordia_server_process)" ]
then
@SCRIPTS_PATH@/restart.sh
echo `date` "restarted" >> @SCRIPTS_PATH@/watchdog.log
fi