diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-06-23 18:19:43 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-06-23 18:19:43 +0000 |
commit | deba957e569b065f266687986aa6bc3f3bdf55b0 (patch) | |
tree | 7a446a1eca17e115aa2e129d8f5ee7cb57076edb /packages/havp.sh | |
parent | 28b496f62711cce4334ec09ddc941192e7ed28e9 (diff) | |
download | pfsense-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
Diffstat (limited to 'packages/havp.sh')
-rw-r--r-- | packages/havp.sh | 3 |
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) |