summaryrefslogtreecommitdiff
path: root/redhat/ripngd.service
diff options
context:
space:
mode:
authorDavid Ward <david.ward@ll.mit.edu>2012-04-29 16:47:08 -0400
committerDavid Lamparter <equinox@diac24.net>2012-05-01 17:51:26 +0200
commit4b5a2103b7d03b9209cfa3668d9cebead697bc82 (patch)
tree7b7114210e3eedb9987f837c77d8a4121d495973 /redhat/ripngd.service
parenta41242bed823db77186ed7d11953cffaa0c3b733 (diff)
redhat: add systemd service files
* redhat/*.service: add systemd service file for each routing daemon * redhat/quagga.sysconfig: add comment about watchquagga and systemd * redhat/Makefile.am: add systemd service files to distribution Signed-off-by: David Ward <david.ward@ll.mit.edu> Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'redhat/ripngd.service')
-rw-r--r--redhat/ripngd.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/redhat/ripngd.service b/redhat/ripngd.service
new file mode 100644
index 00000000..567e8880
--- /dev/null
+++ b/redhat/ripngd.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=RIP routing daemon for IPv6
+BindTo=zebra.service
+After=syslog.target network.target zebra.service
+ConditionPathExists=/etc/quagga/ripngd.conf
+
+[Service]
+Type=forking
+EnvironmentFile=/etc/sysconfig/quagga
+ExecStart=/usr/sbin/ripngd -d $RIPNGD_OPTS -f /etc/quagga/ripngd.conf
+Restart=on-abort
+
+[Install]
+WantedBy=network.target