diff options
author | Lennart Poettering <lennart@poettering.net> | 2020-09-11 10:56:06 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-09-11 16:01:22 +0200 |
commit | e67b818c2fd53e63ae45dac5bf4f1a6b8dd68373 (patch) | |
tree | 7415fbcc1007539aa9330fd0c1b42c6ccb941d04 /units/systemd-resolved.service.in | |
parent | f7c87baeca58c9a8d6457fc11c4f97e7e5f411d0 (diff) | |
download | systemd-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.in | 1 |
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 |