2011-01-31 17:11:50 +00:00
|
|
|
[Unit]
|
|
|
|
Description=NTP client/server
|
2013-02-01 18:07:28 +00:00
|
|
|
After=syslog.target ntpdate.service sntp.service
|
2011-01-31 17:11:50 +00:00
|
|
|
Conflicts=ntpd.service
|
|
|
|
|
|
|
|
[Service]
|
2011-09-06 13:46:25 +00:00
|
|
|
Type=forking
|
2011-07-13 14:53:20 +00:00
|
|
|
EnvironmentFile=-/etc/sysconfig/chronyd
|
2011-06-24 13:36:06 +00:00
|
|
|
ExecStartPre=/usr/libexec/chrony-helper generate-commandkey
|
2011-09-06 13:46:25 +00:00
|
|
|
ExecStart=/usr/sbin/chronyd -u chrony $OPTIONS
|
2011-06-24 13:36:06 +00:00
|
|
|
ExecStartPost=/usr/libexec/chrony-helper add-dhclient-servers
|
2011-01-31 17:11:50 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|