ntpd.service 416 B

123456789101112131415
  1. [Unit]
  2. Description=OpenNTP Daemon
  3. After=network.target
  4. Conflicts=systemd-timesyncd.service
  5. [Service]
  6. Type=simple
  7. # Turn off DNSSEC validation for hostname look-ups, since those need the
  8. # correct time to work, but we likely won't acquire that without NTP. Let's
  9. # break this chicken-and-egg cycle here.
  10. Environment=SYSTEMD_NSS_RESOLVE_VALIDATE=0
  11. ExecStart=/usr/sbin/ntpd -s -d
  12. [Install]
  13. WantedBy=multi-user.target