xref: /OK3568_Linux_fs/buildroot/package/ntp/ntpd.service (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1[Unit]
2Description=Network Time Service
3After=network.target
4
5[Service]
6Type=forking
7PIDFile=/run/ntpd.pid
8# Turn off DNSSEC validation for hostname look-ups, since those need the
9# correct time to work, but we likely won't acquire that without NTP. Let's
10# break this chicken-and-egg cycle here.
11Environment=SYSTEMD_NSS_RESOLVE_VALIDATE=0
12ExecStart=/usr/sbin/ntpd -g -p /run/ntpd.pid
13
14[Install]
15WantedBy=multi-user.target
16