summarylogtreecommitdiffstats
path: root/bgpd.service
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd.service')
-rw-r--r--bgpd.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/bgpd.service b/bgpd.service
new file mode 100644
index 00000000000..b0bf1db0fef
--- /dev/null
+++ b/bgpd.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=BGP routing daemon
+Documentation=man:bgpd(8) man:zebra(8)
+BindTo=zebra.service
+After=network.target zebra.service
+ConditionPathExists=/etc/quagga/bgpd.conf
+
+[Service]
+Type=forking
+PIDFile=/run/quagga/bgpd.pid
+ExecStart=/usr/bin/bgpd -d
+ExecReload=/bin/kill -HUP $MAINPID
+Restart=on-abort
+
+[Install]
+WantedBy=multi-user.target