From deba957e569b065f266687986aa6bc3f3bdf55b0 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Fri, 23 Jun 2006 18:19:43 +0000 Subject: * Space between command and & * Sleep 4 seconds since we are starting HAVP in the background and need to check if the PID file exists --- packages/havp.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'packages') diff --git a/packages/havp.sh b/packages/havp.sh index 2163762c..88a97250 100644 --- a/packages/havp.sh +++ b/packages/havp.sh @@ -42,7 +42,8 @@ rc_start() echo "Starting HAVP Antivirus HTTP Proxy" /usr/local/sbin/havp & sleep 4 - /usr/local/bin/php -q /usr/local/pkg/havp_startup.inc& + /usr/local/bin/php -q /usr/local/pkg/havp_startup.inc & + sleep 4 if [ -f $pidfile ] then pid=$(sed 's/ //g' $pidfile) -- cgit v1.2.3