Skip to content

Instantly share code, notes, and snippets.

@TomCan
Created January 18, 2024 09:15
Show Gist options
  • Save TomCan/9ab3234948a73859a5660d558b10bb3f to your computer and use it in GitHub Desktop.
Save TomCan/9ab3234948a73859a5660d558b10bb3f to your computer and use it in GitHub Desktop.
Debian 12 NTP alternative using systemd-timesyncd
# install systemd-timesyncd
apt-get install systemd-timesyncd
# configure NTP server, or keep defaults
nano /etc/systemd/timesyncd.conf
# restart daemon
systemctl restart systemd-timesyncd
# check service status
systemctl status systemd-timesyncd
# check timesync status
timedatectl timesync-status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment