change systemd service type to forking
This commit is contained in:
parent
87e9b122a8
commit
f0a19e7b77
@ -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]
|
||||||
|
Loading…
Reference in New Issue
Block a user