From: Miroslav Lichvar Date: Mon, 6 May 2019 13:38:16 +0000 (+0200) Subject: examples: remove /var from PIDFile in chronyd.service X-Git-Tag: 3.5~7 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=08fd011b6a7fbac9e1715907caadf8b06664f135;p=thirdparty%2Fchrony.git 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. --- diff --git a/examples/chronyd.service b/examples/chronyd.service index 17774138..289548cb 100644 --- a/examples/chronyd.service +++ b/examples/chronyd.service @@ -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