summaryrefslogtreecommitdiff
blob: 5d09eb4d0df9e25022ee12c4ef7e50558c4f49cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[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