diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-01-31 20:32:11 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-01-31 20:32:11 +0000 |
commit | a3048ab4e93aa74e96584e01edb2ad94470bf024 (patch) | |
tree | 45c40d9045fdc25b0e40bc2e3100dda560e3b5fc /packages | |
parent | f187c46902fe6f8b8945899061608e7955bf7436 (diff) | |
download | pfsense-packages-a3048ab4e93aa74e96584e01edb2ad94470bf024.tar.gz pfsense-packages-a3048ab4e93aa74e96584e01edb2ad94470bf024.tar.bz2 pfsense-packages-a3048ab4e93aa74e96584e01edb2ad94470bf024.zip |
Add process_kill_command which will kill the process late after installation to allow other items to finish up such as filter_configure();
Diffstat (limited to 'packages')
-rw-r--r-- | packages/squid.xml | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/packages/squid.xml b/packages/squid.xml index ebdc0c53..e7cc3688 100644 --- a/packages/squid.xml +++ b/packages/squid.xml @@ -41,11 +41,16 @@ fclose($fout); system("chmod a+x /usr/local/etc/rc.d/squid.sh"); system("/usr/local/sbin/squid -z"); - filter_configure(); system("/usr/local/sbin/squid"); + filter_configure(); </custom_php_install_command> - <custom_php_deinstall_command> - system("/usr/bin/killall squid"); + <start_command>/usr/local/sbin/squid</start_command> + <custom_php_pre_deinstall_command> + exec("mv /var/db/pkg/squid* /tmp/"); filter_configure(); + exec("mv /tmp/squid* /var/db/pkg/"); + </custom_php_pre_deinstall_command> + <custom_php_deinstall_command> </custom_php_deinstall_command> + <process_kill_command>squid</process_kill_command> </packagegui> |