aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-08-01 21:14:52 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-08-01 21:14:52 +0000
commit7049b3d6df1d43a3ee3de79acaf42d2a3728ea50 (patch)
treef53649674bc79427185ab022dc03cf4e0b42389c /packages
parent56a261aba5c4cb20c317a410fb39ea648479dc5a (diff)
downloadpfsense-packages-7049b3d6df1d43a3ee3de79acaf42d2a3728ea50.tar.gz
pfsense-packages-7049b3d6df1d43a3ee3de79acaf42d2a3728ea50.tar.bz2
pfsense-packages-7049b3d6df1d43a3ee3de79acaf42d2a3728ea50.zip
Start proxy_monitor.sh after sync
Diffstat (limited to 'packages')
-rw-r--r--packages/squid.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/squid.inc b/packages/squid.inc
index 563620e9..37cb2395 100644
--- a/packages/squid.inc
+++ b/packages/squid.inc
@@ -654,6 +654,11 @@ function squid_resync() {
exec("/usr/local/sbin/squid -z");
}
+ /* 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();