diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-08-01 21:38:23 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-08-01 21:38:23 +0000 |
commit | 19a34fcc1af9034e2255b277b15db8af3d2eb9c5 (patch) | |
tree | 3fc4ac6be9b8a3325f14110c80bc96576e2ef433 /packages/squid.inc | |
parent | bc76331017d269461679f3e744485b1603dc29be (diff) | |
download | pfsense-packages-19a34fcc1af9034e2255b277b15db8af3d2eb9c5.tar.gz pfsense-packages-19a34fcc1af9034e2255b277b15db8af3d2eb9c5.tar.bz2 pfsense-packages-19a34fcc1af9034e2255b277b15db8af3d2eb9c5.zip |
Adjust ordering.
Diffstat (limited to 'packages/squid.inc')
-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(); } |