mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-05 04:15:06 -05:00
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:
@@ -7,7 +7,7 @@ ConditionCapability=CAP_SYS_TIME
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
PIDFile=/var/run/chrony/chronyd.pid
|
||||
PIDFile=/run/chrony/chronyd.pid
|
||||
EnvironmentFile=-/etc/sysconfig/chronyd
|
||||
ExecStart=/usr/sbin/chronyd $OPTIONS
|
||||
PrivateTmp=yes
|
||||
|
||||
Reference in New Issue
Block a user