1*4882a593Smuzhiyun[Unit] 2*4882a593SmuzhiyunDescription=Network Time Service 3*4882a593SmuzhiyunAfter=network.target 4*4882a593Smuzhiyun 5*4882a593Smuzhiyun[Service] 6*4882a593SmuzhiyunType=forking 7*4882a593SmuzhiyunPIDFile=/run/ntpd.pid 8*4882a593Smuzhiyun# Turn off DNSSEC validation for hostname look-ups, since those need the 9*4882a593Smuzhiyun# correct time to work, but we likely won't acquire that without NTP. Let's 10*4882a593Smuzhiyun# break this chicken-and-egg cycle here. 11*4882a593SmuzhiyunEnvironment=SYSTEMD_NSS_RESOLVE_VALIDATE=0 12*4882a593SmuzhiyunExecStart=/usr/sbin/ntpd -g -p /run/ntpd.pid 13*4882a593Smuzhiyun 14*4882a593Smuzhiyun[Install] 15*4882a593SmuzhiyunWantedBy=multi-user.target 16