summaryrefslogtreecommitdiffhomepage
path: root/tools/contrib/centos/gobgpd.service
diff options
context:
space:
mode:
Diffstat (limited to 'tools/contrib/centos/gobgpd.service')
-rw-r--r--tools/contrib/centos/gobgpd.service17
1 files changed, 17 insertions, 0 deletions
diff --git a/tools/contrib/centos/gobgpd.service b/tools/contrib/centos/gobgpd.service
new file mode 100644
index 00000000..5aac6d7b
--- /dev/null
+++ b/tools/contrib/centos/gobgpd.service
@@ -0,0 +1,17 @@
+[Unit]
+Description=GoBGP Routing Daemon
+Wants=network.target
+After=network.target
+
+[Service]
+Type=simple
+ExecStartPre=/usr/bin/gobgpd -f /etc/gobgpd/gobgpd.conf -d
+ExecStart=/usr/bin/gobgpd -f /etc/gobgpd/gobgpd.conf
+ExecReload=/usr/bin/gobgpd -r
+StandardOutput=journal
+StandardError=journal
+User=gobgpd
+Group=gobgpd
+
+[Install]
+WantedBy=multi-user.target