ntpd.service.in 441 B

123456789101112131415
  1. [Unit]
  2. Description=Network Time Service
  3. After=network.target
  4. [Service]
  5. Type=forking
  6. PIDFile=/run/ntpd.pid
  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 @NTPD_EXTRA_ARGS@ -g -p /run/ntpd.pid
  12. [Install]
  13. WantedBy=multi-user.target