summaryrefslogtreecommitdiff
path: root/extra/quagga/bgpd.service
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-07-25 04:03:32 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-07-25 04:03:32 +0000
commit29cefdccedfcb48822a8da80b259ed0bb0f73266 (patch)
treeeabeaf9a2ee1319f8cc0f3e05018588aa5a169c9 /extra/quagga/bgpd.service
parentd256eaa80219eb28cbfb4f9474acc6fb41c63d3c (diff)
Fri Jul 25 03:59:36 UTC 2014
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