aboutsummaryrefslogtreecommitdiffstats
path: root/packages/squid.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/squid.inc')
-rw-r--r--packages/squid.inc4
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;