mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
MFC 11474
kill slbd if there are no pools or virtual servers
This commit is contained in:
parent
9fa74125f9
commit
79a85ab8f5
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user