Browse Source

Add `CAP_NET_BIND_SERVICE` to `shadowsocks-libev.service`

It ensures process have permission to bind to port <=1000.
Other systemd config files already have it except this one.
pull/2182/head
edsgerlin 6 years ago
parent
commit
d5d28580f9
1 changed files with 1 additions and 0 deletions
  1. 1
      debian/shadowsocks-libev.service

1
debian/shadowsocks-libev.service

@ -15,6 +15,7 @@ After=network.target
[Service]
Type=simple
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
EnvironmentFile=/etc/default/shadowsocks-libev
User=nobody
Group=nogroup

Loading…
Cancel
Save