From e0770f801c794f35089debb1e0ea00947c112d10 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Aug 13 2018 10:02:58 +0000 Subject: add workaround for late reload of unit file (#1614751) --- diff --git a/chrony.spec b/chrony.spec index a703e11..1d8c7a7 100644 --- a/chrony.spec +++ b/chrony.spec @@ -165,6 +165,8 @@ then sed -i '/PIDFile=/s|/run/|/run/chrony/|' \ %{_sysconfdir}/systemd/system/chronyd.service fi +# workaround for late reload of unit file (#1614751) +%{_bindir}/systemctl daemon-reload %systemd_post chronyd.service chrony-wait.service %preun