nm-sudo: reorder sections in nm-sudo.service unit file
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/938#note_1163013
(cherry picked from commit 5e0764cf8e
)
This commit is contained in:
@@ -33,10 +33,7 @@ NotifyAccess=main
|
||||
# or set to 2147483647 for infinity.
|
||||
#Environment=NM_SUDO_IDLE_TIMEOUT_MSEC=10000
|
||||
|
||||
[Install]
|
||||
Alias=dbus-org.freedesktop.nm.sudo.service
|
||||
|
||||
[Service]
|
||||
# Restrict:
|
||||
AmbientCapabilities=
|
||||
CapabilityBoundingSet=
|
||||
@@ -72,3 +69,7 @@ CapabilityBoundingSet=CAP_DAC_OVERRIDE
|
||||
PrivateUsers=no
|
||||
RestrictAddressFamilies=AF_UNIX
|
||||
SystemCallFilter=@resources
|
||||
|
||||
|
||||
[Install]
|
||||
Alias=dbus-org.freedesktop.nm.sudo.service
|
||||
|
Reference in New Issue
Block a user