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