summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohit Mehta <mohit.mehta@vyatta.com>2010-07-20 14:20:45 -0700
committerMohit Mehta <mohit.mehta@vyatta.com>2010-07-20 14:20:45 -0700
commit6a27931ec222299cd3533a8a2298651e7ce643a7 (patch)
treed81e3985eb1aa5ad4ee21c5a0af75fe9e8d677ba
parent24c341672200ad657fb6192c8f1b5c106933eb3a (diff)
downloadvyatta-op-6a27931ec222299cd3533a8a2298651e7ce643a7.tar.gz
vyatta-op-6a27931ec222299cd3533a8a2298651e7ce643a7.zip
part of fix for BZ 5839 - move clear process cmds under restart
-rw-r--r--templates/restart/node.def1
-rw-r--r--templates/restart/vrrp/node.def (renamed from templates/clear/vrrp/process/node.def)4
2 files changed, 3 insertions, 2 deletions
diff --git a/templates/restart/node.def b/templates/restart/node.def
new file mode 100644
index 0000000..f4a2fbe
--- /dev/null
+++ b/templates/restart/node.def
@@ -0,0 +1 @@
+help: Restart a service \ No newline at end of file
diff --git a/templates/clear/vrrp/process/node.def b/templates/restart/vrrp/node.def
index cea635b..a0629c7 100644
--- a/templates/clear/vrrp/process/node.def
+++ b/templates/restart/vrrp/node.def
@@ -1,6 +1,6 @@
-help: Restart the VRRP process
+help: Restart VRRP
run: if [ -e /etc/keepalived/keepalived.conf ] && [ -n "`grep vyatta /etc/keepalived/keepalived.conf `" ] ; then
sudo /opt/vyatta/bin/sudo-users/vyatta-clear-vrrp.pl --vrrp-action clear_process
else
echo VRRP not configured
- fi
+ fi \ No newline at end of file