chiark / gitweb /
nspawn: change filesystem type from "bind" to NULL in mount() syscalls
[elogind.git] / units / systemd-timesyncd.service.in
index a20621dd581c8d5d71e07a26ad81547e284c80ad..8219c95a087ab2b0dd6ad18da9b635ff72d422e7 100644 (file)
@@ -9,13 +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 systemd-sysusers.service
-Before=sysinit.target shutdown.target
+Before=time-sync.target sysinit.target shutdown.target
 Conflicts=shutdown.target
 Wants=time-sync.target
-Before=time-sync.target
 
 [Service]
 Type=notify