diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-03-01 17:37:38 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-03-01 17:37:38 +0000 |
commit | 4eaaea87b89a305dcbab4789c24bd252652827b8 (patch) | |
tree | ee4ed18233360efb7a574d72ffa9ac74fcb0c887 | |
parent | 12fea2f7a4cbcd16077b84f852b05ca2659db68c (diff) | |
download | pfsense-4eaaea87b89a305dcbab4789c24bd252652827b8.zip pfsense-4eaaea87b89a305dcbab4789c24bd252652827b8.tar.gz |
Sleep for 2 seconds between restarting slbd
-rw-r--r-- | etc/inc/vslb.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/vslb.inc b/etc/inc/vslb.inc index d107306..5a5979e 100644 --- a/etc/inc/vslb.inc +++ b/etc/inc/vslb.inc @@ -144,6 +144,7 @@ function slbd_configure() { fwrite($fd, $slbdconf); fclose($fd); mwexec("/usr/bin/killall -9 slbd"); + sleep(2); /* startup slbd pointing it's config at /var/etc/slbd.conf with a polling interval of 5 seconds */ mwexec("/usr/local/sbin/slbd -c{$g['varetc_path']}/slbd.conf -r5000"); } else { @@ -152,4 +153,4 @@ function slbd_configure() { } } -?> +?>
\ No newline at end of file |