diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-07-30 01:32:40 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-07-30 01:32:40 +0000 |
commit | 91ee8d699eff4dc2568c83e5ced9e091093f5c44 (patch) | |
tree | 165d5532fd2f3908b431c40de9b58a19e5368426 /packages/squid.inc | |
parent | 49f2a01fde78088f2f113bb73d3fefcac86f52a6 (diff) | |
download | pfsense-packages-91ee8d699eff4dc2568c83e5ced9e091093f5c44.tar.gz pfsense-packages-91ee8d699eff4dc2568c83e5ced9e091093f5c44.tar.bz2 pfsense-packages-91ee8d699eff4dc2568c83e5ced9e091093f5c44.zip |
Restart proxy monitor script on resync
Diffstat (limited to 'packages/squid.inc')
-rw-r--r-- | packages/squid.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/squid.inc b/packages/squid.inc index 3ed40421..4ed7a286 100644 --- a/packages/squid.inc +++ b/packages/squid.inc @@ -334,6 +334,11 @@ EOD; $valid_acls[] = 'localnet'; } + /* kill any running proxy alarm scripts */ + mwexec("ps awux | grep \"proxy_monitor\" | awk '{ print $6 }' | xargs kill"); + /* restart proxy alarm scripts */ + mwexec("/usr/local/etc/rc.d/proxy_monitor.sh"); + return $conf; } |