summaryrefslogtreecommitdiff
path: root/systemd-timesyncd-wait.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'systemd-timesyncd-wait.service.in')
-rw-r--r--systemd-timesyncd-wait.service.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/systemd-timesyncd-wait.service.in b/systemd-timesyncd-wait.service.in
new file mode 100644
index 0000000..e356dae
--- /dev/null
+++ b/systemd-timesyncd-wait.service.in
@@ -0,0 +1,11 @@
+[Unit]
+Description=Network Time Synchronized
+DefaultDependencies=no
+After=systemd-timesyncd-wait.socket
+Before=time-sync.target
+Wants=time-sync.target systemd-timesyncd-wait.socket
+
+[Service]
+Type=oneshot
+ExecStart=@rootlibexecdir@/systemd-timesyncd-wait
+TimeoutStartSec=infinity