Skip to content

Commit

Permalink
Restart rsyslog.service after config change
Browse files Browse the repository at this point in the history
  • Loading branch information
agrare committed Nov 13, 2023
1 parent d952152 commit d0bd096
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rpm_spec/subpackages/manageiq-appliance
Original file line number Diff line number Diff line change
Expand Up @@ -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,-)
Expand Down

0 comments on commit d0bd096

Please sign in to comment.