examples: remove /var from PIDFile in chronyd.service
Recent systemd versions complain when loading a unit using a PIDFile that relies on the /var/run -> /run symlink.
This commit is contained in:
parent
c172268cfe
commit
08fd011b6a
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ ConditionCapability=CAP_SYS_TIME
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=forking
|
Type=forking
|
||||||
PIDFile=/var/run/chrony/chronyd.pid
|
PIDFile=/run/chrony/chronyd.pid
|
||||||
EnvironmentFile=-/etc/sysconfig/chronyd
|
EnvironmentFile=-/etc/sysconfig/chronyd
|
||||||
ExecStart=/usr/sbin/chronyd $OPTIONS
|
ExecStart=/usr/sbin/chronyd $OPTIONS
|
||||||
PrivateTmp=yes
|
PrivateTmp=yes
|
||||||
|
|
Loading…
Reference in a new issue