summaryrefslogtreecommitdiffhomepage
path: root/tools/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'tools/contrib')
-rw-r--r--tools/contrib/centos/gobgpd.service5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/contrib/centos/gobgpd.service b/tools/contrib/centos/gobgpd.service
index 5aac6d7b..ecd72149 100644
--- a/tools/contrib/centos/gobgpd.service
+++ b/tools/contrib/centos/gobgpd.service
@@ -4,14 +4,15 @@ Wants=network.target
After=network.target
[Service]
-Type=simple
+Type=notify
ExecStartPre=/usr/bin/gobgpd -f /etc/gobgpd/gobgpd.conf -d
-ExecStart=/usr/bin/gobgpd -f /etc/gobgpd/gobgpd.conf
+ExecStart=/usr/bin/gobgpd -f /etc/gobgpd/gobgpd.conf --sdnotify
ExecReload=/usr/bin/gobgpd -r
StandardOutput=journal
StandardError=journal
User=gobgpd
Group=gobgpd
+AmbientCapabilities = CAP_NET_BIND_SERVICE
[Install]
WantedBy=multi-user.target