[Unit]
Description=Set time via SNTP
After=syslog.target network.target NetworkManager-wait-online.service nss-lookup.target
Before=time-sync.target
Wants=time-sync.target
[Service]
Type=oneshot
EnvironmentFile=/etc/sysconfig/sntp
ExecStart=/usr/sbin/sntp $OPTIONS
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target