ntp/ntpd.service
2023-12-11 19:16:45 +08:00

15 lines
320 B
Desktop File

[Unit]
Description=Network Time Service
After=syslog.target ntpdate.service sntp.service
Conflicts=chronyd.service systemd-timesyncd.service
[Service]
Type=forking
EnvironmentFile=-/etc/sysconfig/ntpd
ExecStart=/usr/sbin/ntpd -u ntp:ntp $OPTIONS
PrivateTmp=true
Restart=on-failure
[Install]
WantedBy=multi-user.target