networkd: unit - add cap to load modules
Remember to drop this when the kernel gains autoloading for all netdev kinds.
This commit is contained in:
parent
7951dea209
commit
7c8ec321e7
|
@ -19,7 +19,7 @@ Type=notify
|
|||
Restart=always
|
||||
RestartSec=0
|
||||
ExecStart=@rootlibexecdir@/systemd-networkd
|
||||
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_BROADCAST CAP_NET_RAW CAP_SYS_PTRACE
|
||||
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_BROADCAST CAP_NET_RAW CAP_SYS_PTRACE CAP_SYS_MODULE
|
||||
WatchdogSec=1min
|
||||
|
||||
[Install]
|
||||
|
|
Loading…
Reference in a new issue