[Unit] Description=Set time via NTP After=network.target nss-lookup.target Before=time-sync.target Wants=time-sync.target [Service] Type=oneshot EnvironmentFile=/etc/conf.d/ntp-client ExecStart=/usr/sbin/ntpdate $NTPCLIENT_OPTS RemainAfterExit=yes [Install] WantedBy=multi-user.target