add workaround for late reload of unit file (#1614751)
This commit is contained in:
parent
947de079b7
commit
e0770f801c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user