From 2c3e3bf2a781ab188342ef287bb29d934a75b0a1 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 30 Jul 2006 01:51:33 +0000 Subject: Remove alarm file if exists on launch --- packages/proxy_monitor.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'packages') diff --git a/packages/proxy_monitor.sh b/packages/proxy_monitor.sh index 519a720c..9d8ed657 100644 --- a/packages/proxy_monitor.sh +++ b/packages/proxy_monitor.sh @@ -11,6 +11,10 @@ set -e LOOP_SLEEP=5 +if [ -f /var/run/squid_alarm ]; then + rm /var/run/squid_alarm +fi + # Squid monitor 1.0 while [ /bin/true ]; do if [ ! -f /var/run/squid_alarm ]; then -- cgit v1.2.3