diff options
author | Bill Marquette <billm@pfsense.org> | 2008-06-16 03:14:37 +0000 |
---|---|---|
committer | Bill Marquette <billm@pfsense.org> | 2008-06-16 03:14:37 +0000 |
commit | a32a06ada5e17a2e9a9b8590c17c26a8951342ff (patch) | |
tree | ab2a1d05b3e3279c00a01d945440a32c4fea868c | |
parent | 17623ab556ab149f01e10aa587a35816302ee91d (diff) | |
download | pfsense-a32a06ada5e17a2e9a9b8590c17c26a8951342ff.zip pfsense-a32a06ada5e17a2e9a9b8590c17c26a8951342ff.tar.gz |
pkill relayd instead of using relayctl due to it losing the control connection (or whatever it is)
-rw-r--r-- | etc/inc/vslb.inc | 7 |
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"); |