summaryrefslogtreecommitdiff
path: root/units/systemd-timesyncd.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-timesyncd.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-timesyncd.service.in')
-rw-r--r--units/systemd-timesyncd.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-timesyncd.service.in b/units/systemd-timesyncd.service.in
index e27c74fca1..08ddb141ba 100644
--- a/units/systemd-timesyncd.service.in
+++ b/units/systemd-timesyncd.service.in
@@ -20,6 +20,7 @@ Wants=time-set.target time-sync.target
[Service]
AmbientCapabilities=CAP_SYS_TIME
+BusName=org.freedesktop.timesync1
CapabilityBoundingSet=CAP_SYS_TIME
ExecStart=!!@rootlibexecdir@/systemd-timesyncd
LockPersonality=yes