add workaround for late reload of unit file (#1614751)

This commit is contained in:
Miroslav Lichvar 2018-08-10 12:56:37 +02:00
parent 947de079b7
commit e0770f801c

View File

@ -165,6 +165,8 @@ then
sed -i '/PIDFile=/s|/run/|/run/chrony/|' \ sed -i '/PIDFile=/s|/run/|/run/chrony/|' \
%{_sysconfdir}/systemd/system/chronyd.service %{_sysconfdir}/systemd/system/chronyd.service
fi fi
# workaround for late reload of unit file (#1614751)
%{_bindir}/systemctl daemon-reload
%systemd_post chronyd.service chrony-wait.service %systemd_post chronyd.service chrony-wait.service
%preun %preun