2019-09-30 11:10:18 -04:00
|
|
|
[Unit]
|
|
|
|
|
Description=Network Time Service
|
|
|
|
|
After=syslog.target ntpdate.service sntp.service
|
2021-12-03 16:22:54 +08:00
|
|
|
Conflicts=chronyd.service systemd-timesyncd.service
|
2019-09-30 11:10:18 -04:00
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
|
Type=forking
|
|
|
|
|
EnvironmentFile=-/etc/sysconfig/ntpd
|
|
|
|
|
ExecStart=/usr/sbin/ntpd -u ntp:ntp $OPTIONS
|
|
|
|
|
PrivateTmp=true
|
|
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
|
WantedBy=multi-user.target
|