Skip to content

Commit

Permalink
Merge pull request #506 from agrare/add_manageiq_podman_cleanup_oneshot
Browse files Browse the repository at this point in the history
Add manageiq_podman_cleanup oneshot service
  • Loading branch information
Fryguy authored Sep 13, 2024
2 parents c89d733 + f991adf commit 0cfa84f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rpm_spec/subpackages/manageiq-appliance
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ if systemctl is-active --quiet evm-failover-monitor; then
systemctl restart evm-failover-monitor
fi

# Enable the manageiq-podman-cleanup oneshot script on boot
systemctl enable manageiq-podman-cleanup

# Disable rsyslog duplicating systemd-journal output
# This will comment out the multi-line module load from /etc/rsyslog.conf
sed -i '/^module(load="imjournal"/, /^\s\+StateFile="imjournal.state")/ s|^|#|' %{_sysconfdir}/rsyslog.conf
Expand All @@ -117,6 +120,7 @@ fi
%{_unitdir}/evmserverd.service
%{_unitdir}/manageiq-db-ready.service
%{_unitdir}/manageiq-messaging-ready.service
%{_unitdir}/manageiq-podman-cleanup.service
%{_unitdir}/miqtop.service
%{_unitdir}/miqvmstat.service
%{manifest_root}/BUILD_APPLIANCE
1 change: 1 addition & 0 deletions rpm_spec/subpackages/manageiq-core-services
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ done
%{_prefix}/lib/systemd/system/manageiq*
%exclude %{_prefix}/lib/systemd/system/manageiq-db-ready.service
%exclude %{_prefix}/lib/systemd/system/manageiq-messaging-ready.service
%exclude %{_prefix}/lib/systemd/system/manageiq-podman-cleanup.service
%exclude %{_prefix}/lib/systemd/system/manageiq-providers*

0 comments on commit 0cfa84f

Please sign in to comment.