From 08fd011b6a7fbac9e1715907caadf8b06664f135 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Mon, 6 May 2019 15:38:16 +0200 Subject: [PATCH] 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. --- examples/chronyd.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/chronyd.service b/examples/chronyd.service index 1777413..289548c 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