xref: /OK3568_Linux_fs/buildroot/package/chrony/chrony.service (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun[Unit]
2*4882a593SmuzhiyunDescription=Chrony Network Time Daemon
3*4882a593SmuzhiyunAfter=syslog.target network.target
4*4882a593SmuzhiyunConflicts=systemd-timesyncd.service
5*4882a593Smuzhiyun
6*4882a593Smuzhiyun[Service]
7*4882a593Smuzhiyun# Turn off DNSSEC validation for hostname look-ups, since those need the
8*4882a593Smuzhiyun# correct time to work, but we likely won't acquire that without NTP. Let's
9*4882a593Smuzhiyun# break this chicken-and-egg cycle here.
10*4882a593SmuzhiyunEnvironment=SYSTEMD_NSS_RESOLVE_VALIDATE=0
11*4882a593SmuzhiyunExecStart=/usr/sbin/chronyd -n
12*4882a593SmuzhiyunRestart=always
13*4882a593Smuzhiyun
14*4882a593Smuzhiyun[Install]
15*4882a593SmuzhiyunWantedBy=multi-user.target
16