stormux/pi4/files/usr/lib/systemd/system/ntpd.service

15 lines
278 B
SYSTEMD
Raw Permalink Normal View History

[Unit]
Description=Network Time Service
After=network.target nss-lookup.target
Conflicts=systemd-timesyncd.service
[Service]
Type=forking
PrivateTmp=true
2022-04-01 00:35:18 -04:00
ExecStartPre=/usr/bin/ntpd -Ggq
ExecStart=/usr/bin/ntpd -g -u ntp:ntp
Restart=always
[Install]
WantedBy=multi-user.target