linux:ubuntu:systemctl_timezone_and_ntp

Set timezone and ntp on systemd distro

sudo timedatectl set-timezone Europe/Zagreb
sudo vim /etc/systemd/timesyncd.conf
# append line
NTP=hr.pool.ntp.org
sudo systemctl restart systemd-timesyncd
systemctl status systemd-timesyncd
Enter your comment:
H X B R O
 
  • linux/ubuntu/systemctl_timezone_and_ntp.txt
  • Last modified: 2022-02-01 07:50
  • by tplecko