summaryrefslogtreecommitdiff
path: root/redhat/ripd.service
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/ripd.service')
-rw-r--r--redhat/ripd.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/redhat/ripd.service b/redhat/ripd.service
new file mode 100644
index 00000000..d35dc47a
--- /dev/null
+++ b/redhat/ripd.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=RIP routing daemon
+BindTo=zebra.service
+After=syslog.target network.target zebra.service
+ConditionPathExists=/etc/quagga/ripd.conf
+
+[Service]
+Type=forking
+EnvironmentFile=/etc/sysconfig/quagga
+ExecStart=/usr/sbin/ripd -d $RIPD_OPTS -f /etc/quagga/ripd.conf
+Restart=on-abort
+
+[Install]
+WantedBy=network.target