summaryrefslogtreecommitdiffstats
path: root/etc/inc/vslb.inc
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2008-06-16 03:14:37 +0000
committerBill Marquette <billm@pfsense.org>2008-06-16 03:14:37 +0000
commita32a06ada5e17a2e9a9b8590c17c26a8951342ff (patch)
treeab2a1d05b3e3279c00a01d945440a32c4fea868c /etc/inc/vslb.inc
parent17623ab556ab149f01e10aa587a35816302ee91d (diff)
downloadpfsense-a32a06ada5e17a2e9a9b8590c17c26a8951342ff.zip
pfsense-a32a06ada5e17a2e9a9b8590c17c26a8951342ff.tar.gz
pkill relayd instead of using relayctl due to it losing the control connection (or whatever it is)
Diffstat (limited to 'etc/inc/vslb.inc')
-rw-r--r--etc/inc/vslb.inc7
1 files changed, 6 insertions, 1 deletions
diff --git a/etc/inc/vslb.inc b/etc/inc/vslb.inc
index cc7232b..05dfa86 100644
--- a/etc/inc/vslb.inc
+++ b/etc/inc/vslb.inc
@@ -74,7 +74,12 @@ function relayd_configure() {
fclose($fd);
if (is_process_running('/usr/local/sbin/relayd')) {
- mwexec('/usr/local/bin/relayctl stop');
+ /*
+ * XXX: Something breaks our control connection with relayd and makes relayctl stop working
+ * rule reloads are the current suspect
+ * mwexec('/usr/local/bin/relayctl stop');
+ */
+ mwexec('pkill relayd');
}
mwexec("/usr/local/sbin/relayd -f {$g['varetc_path']}/relayd.conf");
OpenPOWER on IntegriCloud