nm-sudo: reorder sections in nm-sudo.service unit file

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/938#note_1163013
This commit is contained in:
Thomas Haller 2021-11-19 11:41:55 +01:00
parent 867bef5fe7
commit 5e0764cf8e
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

@ -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