From 4b5a2103b7d03b9209cfa3668d9cebead697bc82 Mon Sep 17 00:00:00 2001 From: David Ward Date: Sun, 29 Apr 2012 16:47:08 -0400 Subject: 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 Signed-off-by: David Lamparter --- redhat/ripngd.service | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 redhat/ripngd.service (limited to 'redhat/ripngd.service') 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 -- cgit v1.2.1