From a3048ab4e93aa74e96584e01edb2ad94470bf024 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 31 Jan 2005 20:32:11 +0000 Subject: Add process_kill_command which will kill the process late after installation to allow other items to finish up such as filter_configure(); --- packages/squid.xml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'packages') 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(); - - system("/usr/bin/killall squid"); + /usr/local/sbin/squid + + exec("mv /var/db/pkg/squid* /tmp/"); filter_configure(); + exec("mv /tmp/squid* /var/db/pkg/"); + + + squid -- cgit v1.2.3