Default Raspbian Date/Time Settings: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
(Created page with "To change the default NTP server used for Date/Time queries. = Config File = <pre> vi /etc/systemd/timesyncd.conf </pre> <pre> NTP=ntp.mydomain.com </pre> == Restart Servic...")
 
Line 7: Line 7:


<pre>
<pre>
NTP=ntp.mydomain.com
NTP=au.pool.ntp.org
</pre>
</pre>



Revision as of 04:23, 30 July 2019

To change the default NTP server used for Date/Time queries.

Config File

vi /etc/systemd/timesyncd.conf
NTP=au.pool.ntp.org

Restart Services

systemctl restart systemd-timesyncd

Default file

#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it
#  under the terms of the GNU Lesser General Public License as published by
#  the Free Software Foundation; either version 2.1 of the License, or
#  (at your option) any later version.
#
# Entries in this file show the compile time defaults.
# You can change settings by editing this file.
# Defaults can be restored by simply deleting this file.
#
# See timesyncd.conf(5) for details.

[Time]
#NTP=
#FallbackNTP=0.debian.pool.ntp.org 1.debian.pool.ntp.org 2.debian.pool.ntp.org 3.debian.pool.ntp.org