diff options
author | Bill Marquette <billm@pfsense.org> | 2005-03-20 15:34:33 +0000 |
---|---|---|
committer | Bill Marquette <billm@pfsense.org> | 2005-03-20 15:34:33 +0000 |
commit | 66a9e5b69d2b72b44caf35ea1fb3fb3d9aac1e1d (patch) | |
tree | 4d34cceadc8762687bf5a478eecf8bf9a810fe0f | |
parent | 8e9314755a3ee03369d80c5c61a0686df4f76fde (diff) | |
download | pfsense-packages-66a9e5b69d2b72b44caf35ea1fb3fb3d9aac1e1d.tar.gz pfsense-packages-66a9e5b69d2b72b44caf35ea1fb3fb3d9aac1e1d.tar.bz2 pfsense-packages-66a9e5b69d2b72b44caf35ea1fb3fb3d9aac1e1d.zip |
generic cleanup
-rw-r--r-- | packages/squid.xml | 8 |
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> |