]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - units/systemd-timesyncd.service.in
Merge pull request #1465 from teg/siphash24
[thirdparty/systemd.git] / units / systemd-timesyncd.service.in
index 8d898e2fa767a0f687b865d6a768061df44107c0..a856dad70933d0580ea3c438bf6b37a955e7d536 100644 (file)
@@ -9,11 +9,13 @@
 Description=Network Time Synchronization
 Documentation=man:systemd-timesyncd.service(8)
 ConditionCapability=CAP_SYS_TIME
-DefaultDependencies=off
+ConditionVirtualization=!container
+DefaultDependencies=no
 RequiresMountsFor=/var/lib/systemd/clock
-After=systemd-remount-fs.service systemd-tmpfiles-setup.service
-Before=sysinit.target shutdown.target
+After=systemd-remount-fs.service systemd-tmpfiles-setup.service systemd-sysusers.service
+Before=time-sync.target sysinit.target shutdown.target
 Conflicts=shutdown.target
+Wants=time-sync.target
 
 [Service]
 Type=notify
@@ -25,7 +27,7 @@ PrivateTmp=yes
 PrivateDevices=yes
 ProtectSystem=full
 ProtectHome=yes
-WatchdogSec=1min
+WatchdogSec=3min
 
 [Install]
 WantedBy=sysinit.target