summaryrefslogtreecommitdiff
path: root/extra/ntp/ntpdate.service
blob: 82d72d8b63146266474a7b28ebdd816ecf834a64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[Unit]
Description=One-Shot Network Time Service
After=network.target nss-lookup.target

[Service]
Type=oneshot
PrivateTmp=true
ExecStart=/usr/bin/ntpd -q -g -u ntp:ntp
ControlGroup=cpu:/

[Install]
WantedBy=multi-user.target