aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-08-01 21:38:23 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-08-01 21:38:23 +0000
commit19a34fcc1af9034e2255b277b15db8af3d2eb9c5 (patch)
tree3fc4ac6be9b8a3325f14110c80bc96576e2ef433
parentbc76331017d269461679f3e744485b1603dc29be (diff)
downloadpfsense-packages-19a34fcc1af9034e2255b277b15db8af3d2eb9c5.tar.gz
pfsense-packages-19a34fcc1af9034e2255b277b15db8af3d2eb9c5.tar.bz2
pfsense-packages-19a34fcc1af9034e2255b277b15db8af3d2eb9c5.zip
Adjust ordering.
-rw-r--r--packages/squid.inc6
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();
}