From d4c84dfdbad19306d1ef2827fcb4fc436b908106 Mon Sep 17 00:00:00 2001 From: Ermal Date: Wed, 29 Dec 2010 11:07:41 +0000 Subject: Do not call filter_configure_sync directly since this is not best practice --- config/squid-head/squid_monitor.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config/squid-head') diff --git a/config/squid-head/squid_monitor.sh b/config/squid-head/squid_monitor.sh index d0035d1a..c821ae4c 100644 --- a/config/squid-head/squid_monitor.sh +++ b/config/squid-head/squid_monitor.sh @@ -47,7 +47,7 @@ while [ /bin/true ]; do /usr/local/etc/rc.d/squid.sh start sleep 3 echo "Reconfiguring filter..." | logger -p daemon.info -i -t Squid_Alarm - /etc/rc.filter_configure_sync + /etc/rc.filter_configure touch /var/run/squid_alarm fi fi @@ -56,7 +56,7 @@ while [ /bin/true ]; do if [ -f /var/run/squid_alarm ]; then echo "Squid has resumed. Reconfiguring filter." | \ logger -p daemon.info -i -t Squid_Alarm - /etc/rc.filter_configure_sync + /etc/rc.filter_configure rm /var/run/squid_alarm fi fi -- cgit v1.2.3