ntp-server/ntpdate.service

13 lines
231 B
Desktop File

[Unit]
Description=One-Shot Network Time Service
After=network.target nss-lookup.target
Before=ntpd.service
[Service]
Type=oneshot
PrivateTmp=true
ExecStart=/usr/sbin/ntpd -q -n -g -u ntp:ntp
[Install]
WantedBy=multi-user.target