aboutsummaryrefslogtreecommitdiffstats
path: root/packages/squid.xml
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2005-03-20 15:34:33 +0000
committerBill Marquette <billm@pfsense.org>2005-03-20 15:34:33 +0000
commit66a9e5b69d2b72b44caf35ea1fb3fb3d9aac1e1d (patch)
tree4d34cceadc8762687bf5a478eecf8bf9a810fe0f /packages/squid.xml
parent8e9314755a3ee03369d80c5c61a0686df4f76fde (diff)
downloadpfsense-packages-66a9e5b69d2b72b44caf35ea1fb3fb3d9aac1e1d.tar.gz
pfsense-packages-66a9e5b69d2b72b44caf35ea1fb3fb3d9aac1e1d.tar.bz2
pfsense-packages-66a9e5b69d2b72b44caf35ea1fb3fb3d9aac1e1d.zip
generic cleanup
Diffstat (limited to 'packages/squid.xml')
-rw-r--r--packages/squid.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/squid.xml b/packages/squid.xml
index 14ccfc7d..eb7f3a43 100644
--- a/packages/squid.xml
+++ b/packages/squid.xml
@@ -63,7 +63,7 @@
$fout = fopen("/usr/local/etc/squid/squid.conf", "a");
if ($_POST['cache_size'] != "") fwrite($fout, "cache_mem " . $_POST['cache_size'] . " MB\n");
fclose($fout);
- mwexec("/usr/bin/killall -HUP squid");
+ mwexec("/usr/local/sbin/squid -k reconfigure");
conf_mount_ro();
config_unlock();
}
@@ -75,9 +75,9 @@
fwrite($fout, "#!/bin/sh\n");
fwrite($fout, "/usr/local/sbin/squid\n\n");
fclose($fout);
- mwexec("chmod a+x /usr/local/etc/rc.d/squid.sh");
+ chmod("/usr/local/etc/rc.d/squid.sh", 755);
mwexec("/usr/local/sbin/squid -z");
- mwexec("/usr/local/sbin/squid");
+ mwexec("/usr/local/etc/rc.d/squid.sh");
filter_configure();
</custom_php_install_command>
<custom_php_deinstall_command>
@@ -85,6 +85,6 @@
filter_configure();
mwexec("/etc/rc.filter_configure");
</custom_php_deinstall_command>
- <start_command>/usr/local/sbin/squid</start_command>
+ <start_command>/usr/local/etc/rc.d/squid.sh</start_command>
<process_kill_command>squid</process_kill_command>
</packagegui>