chrony/chrony-wait.service

17 lines
399 B
SYSTEMD
Raw Normal View History

2011-06-24 14:26:26 +00:00
[Unit]
Description=Wait for chrony to synchronize system clock
After=chronyd.service
Requires=chronyd.service
Before=time-sync.target
Wants=time-sync.target
[Service]
Type=oneshot
# Wait up to ~10 minutes for chronyd to synchronize and the remaining
# clock correction to be less than 0.1 seconds
ExecStart=/usr/bin/chronyc waitsync 60 0.1
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target