aboutsummaryrefslogtreecommitdiffstats
path: root/packages/squid.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/squid.inc')
-rw-r--r--packages/squid.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/squid.inc b/packages/squid.inc
index 7b68a2e3..feb221a5 100644
--- a/packages/squid.inc
+++ b/packages/squid.inc
@@ -52,9 +52,9 @@ function squid_is_valid_acl($acl) {
function squid_install_command() {
$rc = array();
$rc['file'] = 'squid.sh';
- $rc['start'] = 'squid -D';
+ $rc['start'] = '/usr/local/sbin/squid -D';
$rc['stop'] = <<<EOD
-squid -k shutdown
+/usr/local/sbin/squid -k shutdown
# Just to be sure...
killall squid 2>/dev/null
sleep 1
@@ -63,9 +63,9 @@ killall squid 2>/dev/null
EOD;
$rc['restart'] = <<<EOD
if [ -z "`pgrep squid`" ]; then
- squid -D
+ /usr/local/sbin/squid -D
else
- squid -k reconfigure
+ /usr/local/sbin/squid -k reconfigure
fi
EOD;