From ef9ba9691884e25704d7390d0a1983b7def8f347 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Wed, 9 Jan 2019 03:54:47 -0700 Subject: [PATCH] updated /etc/systemd readme --- config/etc/systemd/readme.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 config/etc/systemd/readme.md diff --git a/config/etc/systemd/readme.md b/config/etc/systemd/readme.md new file mode 100644 index 0000000..69d357c --- /dev/null +++ b/config/etc/systemd/readme.md @@ -0,0 +1,30 @@ +# /etc/systemd: Included files + +## time synchronization settings (timesyncd.conf) + +This file configures the *systemd-timesyncd.service* and allows for a very +simple NTP-sync setup. Edit the **NTP=* line with a space-delimited list of +your desired timeservers. In the event those timeservers are not available, you +can configure backup servers by listing them on the **FallbackNTP=** line, again +space delimited. + +I've set the defaults in this file to be the worldwide NTP.org servers. This +should work for pretty much anyone that uses this file, but you really should +customize the list to use geographically closer timeservers or the timeserver on +your LAN, etc. + +When you're done editing this file, make sure you restart the *timesyncd +service* and check it's status to verify it is now using one of your defined NTP +servers. + +```bash +systemctl restart systemd-timesyncd.service && systemctl status systemd-timesyncd.service +``` + +Finally, you can confirm things are working properly by running timedatectl. + +```bash +timedatectl +``` + +You should see the correct time listed and *NTP synchronized: yes*. \ No newline at end of file