change systemd service type to forking

This commit is contained in:
Miroslav Lichvar 2011-09-06 15:46:25 +02:00
parent 87e9b122a8
commit f0a19e7b77

View File

@ -4,9 +4,10 @@ After=syslog.target ntpdate.service
Conflicts=ntpd.service Conflicts=ntpd.service
[Service] [Service]
Type=forking
EnvironmentFile=-/etc/sysconfig/chronyd EnvironmentFile=-/etc/sysconfig/chronyd
ExecStartPre=/usr/libexec/chrony-helper generate-commandkey ExecStartPre=/usr/libexec/chrony-helper generate-commandkey
ExecStart=/usr/sbin/chronyd -n -u chrony $OPTIONS ExecStart=/usr/sbin/chronyd -u chrony $OPTIONS
ExecStartPost=/usr/libexec/chrony-helper add-dhclient-servers ExecStartPost=/usr/libexec/chrony-helper add-dhclient-servers
[Install] [Install]