diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-11-12 01:14:05 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-11-12 01:14:05 +0000 |
commit | 12ead959c6d4ac370199b47ec7f179badaef12c8 (patch) | |
tree | c0876bb0c0761884ea6a8d7c94464823e2d24399 | |
parent | 59122d6537f30964cd5059425e8fe58706a8f992 (diff) | |
download | pfsense-packages-12ead959c6d4ac370199b47ec7f179badaef12c8.tar.gz pfsense-packages-12ead959c6d4ac370199b47ec7f179badaef12c8.tar.bz2 pfsense-packages-12ead959c6d4ac370199b47ec7f179badaef12c8.zip |
If squid does not stop when we tell it to, then push it off a large cliff.
-rw-r--r-- | packages/squid.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/squid.inc b/packages/squid.inc index c730e949..6a7a4396 100644 --- a/packages/squid.inc +++ b/packages/squid.inc @@ -95,11 +95,13 @@ function squid_install_command() { $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 +/usr/local/sbin/squid -k shutdown & +sleep 15 # Just to be sure... killall squid 2>/dev/null sleep 1 killall squid 2>/dev/null +killall -9 squid 2>/dev/null killall pinger 2>/dev/null EOD; |