From 7158009fa019bb9eb5b871750e3658590b3a122f Mon Sep 17 00:00:00 2001
From: Stephen Hemminger <stephen.hemminger@vyatta.com>
Date: Wed, 4 Feb 2009 13:58:41 -0800
Subject: Protocol daemon management

Bug 3828
Start protocols from configuration system, and use watchquagga
to restart protocol daemons after failure
---
 templates/protocols/ripng/node.def | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

(limited to 'templates/protocols/ripng/node.def')

diff --git a/templates/protocols/ripng/node.def b/templates/protocols/ripng/node.def
index 77991f97..efe56ba3 100644
--- a/templates/protocols/ripng/node.def
+++ b/templates/protocols/ripng/node.def
@@ -1,7 +1,5 @@
 help: Configure Routing Information Protocol (RIPng) parameters
-
-create: vyatta-vtysh -c "configure terminal" \
-          -c "router ripng"
-
-delete: vyatta-vtysh -c "configure terminal" \
-          -c "no router ripng"
+create: /opt/vyatta/sbin/vyatta-protocol start ripng
+	vyatta-vtysh -c "configure terminal" -c "router ripng"
+delete: vyatta-vtysh -c "configure terminal" -c "no router ripng"
+	/opt/vyatta/sbin/vyatta-protocol stop ripng
-- 
cgit v1.2.3

