aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/squid.xml11
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>