diff options
author | Thomas Haller <thaller@redhat.com> | 2021-11-19 11:41:55 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2021-11-19 12:03:07 +0100 |
commit | 6c2ddbaa8339462b99a2323a405b03d8f9a32569 (patch) | |
tree | 6d109ea6d57e228514afde21a5b2a14b240daa00 /data | |
parent | d534170b21748fb83e0f79f52fece3dc773196ab (diff) | |
download | NetworkManager-6c2ddbaa8339462b99a2323a405b03d8f9a32569.tar.gz |
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 5e0764cf8e7b3cdc1a8bd5b088b3ea95c394f106)
Diffstat (limited to 'data')
-rw-r--r-- | data/nm-sudo.service.in | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/data/nm-sudo.service.in b/data/nm-sudo.service.in index 22abdd236b..5f8701009b 100644 --- a/data/nm-sudo.service.in +++ b/data/nm-sudo.service.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 |