diff --git a/rpm_spec/subpackages/manageiq-appliance b/rpm_spec/subpackages/manageiq-appliance index b4b096f5..9e353f56 100644 --- a/rpm_spec/subpackages/manageiq-appliance +++ b/rpm_spec/subpackages/manageiq-appliance @@ -85,6 +85,9 @@ fi # Disable rsyslog duplicating systemd-journal output # This will comment out the multi-line module load from /etc/rsyslog.conf sed -i '/module(load="imjournal"/, /StateFile="imjournal.state")/ s|^|#|' %{_sysconfdir}/rsyslog.conf +if systemctl is-active --quiet rsyslog; then + systemctl restart rsyslog +fi %files appliance %defattr(-,root,root,-)