diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-09-30 01:24:24 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-09-30 01:24:24 +0000 |
commit | 40a0226d73104e14555349a46cc1a167474a2e65 (patch) | |
tree | 515e37aa9576a93b5fe4b8728d7549b8261c071e /packages | |
parent | 425ab2a7b7e4214fd7f84cd74cc39f3665b01697 (diff) | |
download | pfsense-packages-40a0226d73104e14555349a46cc1a167474a2e65.tar.gz pfsense-packages-40a0226d73104e14555349a46cc1a167474a2e65.tar.bz2 pfsense-packages-40a0226d73104e14555349a46cc1a167474a2e65.zip |
Kill the proxy_monitor.sh process before killing squid. Otherwise it will restart the process.
Diffstat (limited to 'packages')
-rw-r--r-- | packages/squid.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/squid.inc b/packages/squid.inc index 0a9312bb..1f37026a 100644 --- a/packages/squid.inc +++ b/packages/squid.inc @@ -93,6 +93,7 @@ function squid_install_command() { $rc['file'] = 'squid.sh'; $rc['start'] = '/usr/local/sbin/squid -D'; $rc['stop'] = <<<EOD +ps awux | grep proxy_monitor.sh | grep -v grep | awk '{ print \$2 }' | xargs kill /usr/local/sbin/squid -k shutdown # Just to be sure... killall squid 2>/dev/null |