systemd: grant the daemon a license to kill kids

It's for their own good. Otherwise stale dnsmasq instances haunt the shared
connections.
This commit is contained in:
Lubomir Rintel 2015-10-08 19:14:43 +02:00
parent 68eb350ad8
commit 97a962a788

View file

@ -11,7 +11,7 @@ ExecStart=@sbindir@/NetworkManager --no-daemon
Restart=on-failure
# NM doesn't want systemd to kill its children for it
KillMode=process
CapabilityBoundingSet=CAP_NET_ADMIN CAP_DAC_OVERRIDE CAP_NET_RAW CAP_NET_BIND_SERVICE CAP_SETGID CAP_SETUID CAP_SYS_MODULE CAP_AUDIT_WRITE
CapabilityBoundingSet=CAP_NET_ADMIN CAP_DAC_OVERRIDE CAP_NET_RAW CAP_NET_BIND_SERVICE CAP_SETGID CAP_SETUID CAP_SYS_MODULE CAP_AUDIT_WRITE CAP_KILL
ProtectSystem=true
ProtectHome=read-only