summaryrefslogtreecommitdiff
path: root/units/systemd-resolved.service.in
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2020-09-11 10:56:06 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-09-11 16:01:22 +0200
commite67b818c2fd53e63ae45dac5bf4f1a6b8dd68373 (patch)
tree7415fbcc1007539aa9330fd0c1b42c6ccb941d04 /units/systemd-resolved.service.in
parentf7c87baeca58c9a8d6457fc11c4f97e7e5f411d0 (diff)
downloadsystemd-e67b818c2fd53e63ae45dac5bf4f1a6b8dd68373.tar.gz
unit: declare BusName= in all our units that are on the bus, event if they don't use Type=dbus
This information is always useful, so let's always declare it, particular in the light of #16976.
Diffstat (limited to 'units/systemd-resolved.service.in')
-rw-r--r--units/systemd-resolved.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-resolved.service.in b/units/systemd-resolved.service.in
index ecfc999a92..2432485e9e 100644
--- a/units/systemd-resolved.service.in
+++ b/units/systemd-resolved.service.in
@@ -21,6 +21,7 @@ Wants=nss-lookup.target
[Service]
AmbientCapabilities=CAP_SETPCAP CAP_NET_RAW CAP_NET_BIND_SERVICE
+BusName=org.freedesktop.resolve1
CapabilityBoundingSet=CAP_SETPCAP CAP_NET_RAW CAP_NET_BIND_SERVICE
ExecStart=!!@rootlibexecdir@/systemd-resolved
LockPersonality=yes