summaryrefslogtreecommitdiff
path: root/extra/quagga/bgpd.service
diff options
context:
space:
mode:
Diffstat (limited to 'extra/quagga/bgpd.service')
-rw-r--r--extra/quagga/bgpd.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/extra/quagga/bgpd.service b/extra/quagga/bgpd.service
new file mode 100644
index 000000000..b0bf1db0f
--- /dev/null
+++ b/extra/quagga/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