Skip to content

Commit

Permalink
follow the advice at #1131
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-mangin committed Dec 13, 2022
1 parent e8f5aee commit 79e1bc6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions etc/systemd/exabgp.service
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ ExecStartPre=-/usr/bin/mkfifo /run/exabgp/exabgp.out
ExecStart=/usr/sbin/exabgp /etc/exabgp/exabgp.conf
ExecReload=/bin/kill -USR1 $MAINPID
Restart=always
CapabilityBoundingSet=CAP_NET_ADMIN
AmbientCapabilities=CAP_NET_ADMIN
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE

[Install]
WantedBy=multi-user.target
4 changes: 2 additions & 2 deletions etc/systemd/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ ExecStartPre=-/usr/bin/mkfifo /run/exabgp/exabgp-%i.out
ExecStart=/usr/sbin/exabgp /etc/exabgp/exabgp-%i.conf
ExecReload=/bin/kill -USR1 $MAINPID
Restart=always
CapabilityBoundingSet=CAP_NET_ADMIN
AmbientCapabilities=CAP_NET_ADMIN
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE

[Install]
WantedBy=multi-user.target

0 comments on commit 79e1bc6

Please sign in to comment.