Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adding chrony unit(s)

  • Loading branch information...
commit 3107e0e4b6e9d9b7257baf4dac3209656f1d2a73 1 parent 6337005
@johannbg authored
Showing with 14 additions and 0 deletions.
  1. +14 −0 projects/chrony/service/chrony-wait.service
View
14 projects/chrony/service/chrony-wait.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Wait for chrony to synchronize system clock
+Wants=time-sync.target
+Requires=chronyd.service
+Before=time-sync.target
+After=chronyd.service
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/chronyc waitsync 60 0.1
+RemainAfterExit=yes
+
+[Install]
+WantedBy=multi-user.target
Please sign in to comment.
Something went wrong with that request. Please try again.