From 19a34fcc1af9034e2255b277b15db8af3d2eb9c5 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 1 Aug 2006 21:38:23 +0000 Subject: Adjust ordering. --- packages/squid.inc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'packages') diff --git a/packages/squid.inc b/packages/squid.inc index 37cb2395..1336a9fa 100644 --- a/packages/squid.inc +++ b/packages/squid.inc @@ -654,13 +654,15 @@ function squid_resync() { exec("/usr/local/sbin/squid -z"); } + restart_service('squid'); + + sleep(1); + /* kill any running proxy alarm scripts */ mwexec("ps awux | grep \"proxy_monitor\" | grep -v \"grep\" | grep -v \"php\" | awk '{ print $2 }' | xargs kill"); /* restart proxy alarm scripts */ mwexec_bg("/usr/local/etc/rc.d/proxy_monitor.sh"); - restart_service('squid'); - filter_configure(); } -- cgit v1.2.3