chrony/chronyd.service

16 lines
403 B
Desktop File

[Unit]
Description=NTP client/server
After=syslog.target ntpdate.service
Conflicts=ntpd.service
BindTo=systemd-timedated-ntp.target
[Service]
Type=forking
EnvironmentFile=-/etc/sysconfig/chronyd
ExecStartPre=/usr/libexec/chrony-helper generate-commandkey
ExecStart=/usr/sbin/chronyd -u chrony $OPTIONS
ExecStartPost=/usr/libexec/chrony-helper add-dhclient-servers
[Install]
WantedBy=multi-user.target