diff options
author | Robin Douine <r.douine@criteo.com> | 2019-03-09 11:51:46 +0100 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@gmail.com> | 2019-03-14 21:51:08 +0900 |
commit | cb5cf73311ceb050979a15e36f128f008c890650 (patch) | |
tree | 09548145289f0d1e6c7690e029a24fd66c5abb2d /tools/contrib/centos/gobgpd.service | |
parent | 7bb72b7ad04b4e673811649e276b77c6f8e828c3 (diff) |
contrib: update the service systemd
Diffstat (limited to 'tools/contrib/centos/gobgpd.service')
-rw-r--r-- | tools/contrib/centos/gobgpd.service | 5 |
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 |