diff options
Diffstat (limited to 'templates/clear/vrrp/process/node.def')
-rw-r--r-- | templates/clear/vrrp/process/node.def | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/clear/vrrp/process/node.def b/templates/clear/vrrp/process/node.def new file mode 100644 index 0000000..f97cb91 --- /dev/null +++ b/templates/clear/vrrp/process/node.def @@ -0,0 +1,6 @@ +help: Restart the VRRP process +run: if [ -e /etc/keepalived/keepalived.conf ] && [ -n "`grep vyatta /etc/keepalived/keepalived.conf `" ] ; then + sudo /opt/vyatta/sbin/vyatta-keepalived.pl --vrrp-action clear + else + echo VRRP not configured + fi |