There are at least 4 NTP clients available on ArchLinux:
We'll see how to configure systemd-timesyncd, the most handy of the four.
Configuration
Create a directory /etc/systemd/timesyncd.conf.d/
to override the default /etc/systemd/timesyncd.conf
:
Create our custom configuration file:
Optionally RTFM about the config format:
Add the ntp servers:
Restart the time sync service to take the new config into effect:
To verify your configuration was taken into account:
Usage
To enable and start the service:
At anytime you can check if ntp is active the time, etc.
You can also have more verbose information about ntp:
If changing the time zone is required: