Subversion Repositories ALCASAR

Compare Revisions

No changes between revisions

Ignore whitespace Rev 806 → Rev 807

/scripts/sbin/alcasar-daemon.sh
0,0 → 1,22
#!/bin/sh
# $Id: alcasar-bl.sh 412 2011-01-03 21:40:09Z richard $
 
# alcasar-watchdog.sh
# by Franck BOUIJOUX
# This script is distributed under the Gnu General Public License (GPL)
# Watchdog of Services
# See /etc/cron.d/alcasar-daemon-watchdog for config the time
 
 
SERVICE="httpd chilli radiusd mysqld dansguardian dnsmasq havp ntpd squid master"
 
for s in $SERVICE
do
CMD=`pidof $s`
if [ -z "$CMD" ]
then
service $s restart
else
echo "Service $s is On on PID : $CMD"
fi
done
Property changes:
Added: svn:eol-style
+native
\ No newline at end of property
Added: svn:executable
+*
\ No newline at end of property