aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-09-30 01:24:24 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-09-30 01:24:24 +0000
commit40a0226d73104e14555349a46cc1a167474a2e65 (patch)
tree515e37aa9576a93b5fe4b8728d7549b8261c071e /packages
parent425ab2a7b7e4214fd7f84cd74cc39f3665b01697 (diff)
downloadpfsense-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.inc1
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