diff options
author | Alex Harpin <development@landsofshadow.co.uk> | 2015-02-08 14:44:49 +0000 |
---|---|---|
committer | Alex Harpin <development@landsofshadow.co.uk> | 2015-02-08 14:44:49 +0000 |
commit | dfc1da602234351cabc7e8d78af80dece309f9d3 (patch) | |
tree | b581c531ced80b710905e23be60f87f8be24ad8a /templates/load-balancing | |
parent | 39d7e1135044fbeaffa1c16b6117eba1d9b75a61 (diff) | |
download | vyatta-wanloadbalance-dfc1da602234351cabc7e8d78af80dece309f9d3.tar.gz vyatta-wanloadbalance-dfc1da602234351cabc7e8d78af80dece309f9d3.zip |
vyatta-wanloadbalance: ensure the load balancing daemon is stopped
Ensure the load balancing daemon stops correctly when the configuration
changes are committed; using new rather than old scripts.
Bug #441 http://bugzilla.vyos.net/show_bug.cgi?id=441
Diffstat (limited to 'templates/load-balancing')
-rw-r--r-- | templates/load-balancing/wan/node.def | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/load-balancing/wan/node.def b/templates/load-balancing/wan/node.def index cb2dfd0..07cfff0 100644 --- a/templates/load-balancing/wan/node.def +++ b/templates/load-balancing/wan/node.def @@ -2,5 +2,4 @@ help: Configure Wide Area Network (WAN) load-balancing end: if [ ${COMMIT_ACTION} != 'DELETE' ]; then sudo ${vyatta_sbindir}/vyatta-wanloadbalance.pl; fi; -delete:expression: exec "sudo /etc/init.d/vyatta-wanloadbalance stop;sudo rm -f /var/run/load-balance/wlb.out" - +delete:expression: exec "sudo /opt/vyatta/sbin/vyatta-wanloadbalance.init stop;sudo rm -f /var/run/load-balance/wlb.out" |