Debian timesyncd
Jump to navigation
Jump to search
As an alternative to setting up ntp, debian comes with preconfigured systemd time support.
systemctl status systemd-timesyncd
systemd-timesyncd.service - Network Time Synchronization
Loaded: loaded (/lib/systemd/system/systemd-timesyncd.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2021-09-11 10:10:59 CEST; 4 days ago
Docs: man:systemd-timesyncd.service(8)
Main PID: 486 (systemd-timesyn)
Status: "Initial synchronization to time server [2a01:4f9:2b:f20:123:123:123:123]:123 (2.debian.pool.ntp.org)."
Tasks: 2 (limit: 4558)
Memory: 1.1M
CPU: 538ms
CGroup: /system.slice/systemd-timesyncd.service
└─486 /lib/systemd/systemd-timesyncd
timedatectl
Local time: Wed 2021-09-15 12:45:13 CEST
Universal time: Wed 2021-09-15 10:45:13 UTC
RTC time: Wed 2021-09-15 10:45:14
Time zone: Europe/Berlin (CEST, +0200)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no