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

15 lines
277 B
Desktop File

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