diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2008-07-02 09:29:59 +0000 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2008-07-02 09:29:59 +0000 |
commit | 51b84146abb1a87518525f03e0abfd3149848598 (patch) | |
tree | e50146fc92aa800b7766361e644cbe71d56e6fb3 | |
parent | d5996d4f5335b4db179543c71419b55c1fdc66bb (diff) | |
download | pfsense-51b84146abb1a87518525f03e0abfd3149848598.zip pfsense-51b84146abb1a87518525f03e0abfd3149848598.tar.gz |
If we sleep longer then the ping interval between killing and starting
apinger again it works?
Starting 2 apinger processes will never work apparently
-rw-r--r-- | etc/inc/pfsense-utils.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index a19b319..8bc788e 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -4181,10 +4181,10 @@ EOD; fwrite($fd, $apingerconfig); fclose($fd); - sleep(1); + sleep(3); if(!is_process_running("apinger")) { /* start a new apinger process */ - mwexec_bg("nohup /usr/local/sbin/apinger -c {$g['varetc_path']}/apinger.conf &"); + mwexec_bg("/usr/local/sbin/apinger -c {$g['varetc_path']}/apinger.conf"); } return 0; } |