ntpd file to make sure time syncs quickly at startup.

This commit is contained in:
Storm Dragon 2022-02-09 05:14:39 -05:00
parent e5493e19b9
commit 368b0192fa

View File

@ -0,0 +1,14 @@
[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