From d6d332cd79cc8f883cc97507116c453dcbddff58 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 7 Jan 2006 19:28:22 +0000 Subject: Fix a few errors: * - <-- to error message: parseHttpRequest: PF open failed: (13) Permission denied --> + /* EmanuelG: update pf group ownership settings to enhance squid performance and correct issue relating */ + /* to error message: parseHttpRequest: PF open failed: (13) Permission denied */ mwexec("chgrp squid /dev/pf"); mwexec("chmod g+rw /dev/pf"); @@ -408,10 +427,8 @@ $i++; } - if ($i == 30) { - $pid = shell_exec('nohup squid > /dev/null & echo $!'); - shell_exec('kill -9 ' . $pid . '/dev/null'); - } + /* brute force any remaining squid processes out */ + mwxec("/usr/bin/killall squid"); update_output_window("Recursively removing directories hierarchies..."); update_output_window("If existant, log files in /var/squid/logs will remain..."); @@ -431,5 +448,4 @@ /usr/local/sbin/squid -k shutdown - - \ No newline at end of file + \ No newline at end of file -- cgit v1.2.3