summaryrefslogtreecommitdiffstats
path: root/etc/inc/vslb.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-04-16 23:45:27 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-04-16 23:45:27 +0000
commit79a85ab8f5b95b2808bb7b50c2ecb315882cd154 (patch)
treeafa9129e56ffdafe4220ad9002ad6a5f19e82fdb /etc/inc/vslb.inc
parent9fa74125f911fa4bc9bf2b1d561ea54df9280bce (diff)
downloadpfsense-79a85ab8f5b95b2808bb7b50c2ecb315882cd154.zip
pfsense-79a85ab8f5b95b2808bb7b50c2ecb315882cd154.tar.gz
MFC 11474
kill slbd if there are no pools or virtual servers
Diffstat (limited to 'etc/inc/vslb.inc')
-rw-r--r--etc/inc/vslb.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/vslb.inc b/etc/inc/vslb.inc
index b44fac1..dfd54f8 100644
--- a/etc/inc/vslb.inc
+++ b/etc/inc/vslb.inc
@@ -137,8 +137,9 @@ function slbd_configure() {
/* 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 {
+ mwexec("/usr/bin/killall -9 slbd");
fclose($fd);
}
}
-?> \ No newline at end of file
+?>
OpenPOWER on IntegriCloud