aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-06-23 18:19:43 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-06-23 18:19:43 +0000
commitdeba957e569b065f266687986aa6bc3f3bdf55b0 (patch)
tree7a446a1eca17e115aa2e129d8f5ee7cb57076edb
parent28b496f62711cce4334ec09ddc941192e7ed28e9 (diff)
downloadpfsense-packages-deba957e569b065f266687986aa6bc3f3bdf55b0.tar.gz
pfsense-packages-deba957e569b065f266687986aa6bc3f3bdf55b0.tar.bz2
pfsense-packages-deba957e569b065f266687986aa6bc3f3bdf55b0.zip
* Space between command and &
* Sleep 4 seconds since we are starting HAVP in the background and need to check if the PID file exists
-rw-r--r--packages/havp.sh3
1 files changed, 2 insertions, 1 deletions
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)