From e0770f801c794f35089debb1e0ea00947c112d10 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Fri, 10 Aug 2018 12:56:37 +0200 Subject: [PATCH] add workaround for late reload of unit file (#1614751) --- chrony.spec | 2 ++ 1 file changed, 2 insertions(+) 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