Force ntp update with systemd

Old way most of us are used to is not working with underlying operating systems that use systemd. After trying a lot of things with ntpd and ntpdate I found out that correct way to force sync the clock is:

timedatectl set-ntp true

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.