diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/squid.inc | 6 |
1 files changed, 4 insertions, 2 deletions
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(); } |