diff -Nur --no-dereference e-smith-base-5.8.1.old/root/etc/e-smith/events/actions/logrotate-migrate e-smith-base-5.8.1/root/etc/e-smith/events/actions/logrotate-migrate --- e-smith-base-5.8.1.old/root/etc/e-smith/events/actions/logrotate-migrate 2023-08-14 12:54:41.801000000 -0400 +++ e-smith-base-5.8.1/root/etc/e-smith/events/actions/logrotate-migrate 2023-08-14 14:42:57.439000000 -0400 @@ -43,10 +43,12 @@ fi done +# exit if we are running bootstrap-console.service, to avoid systemd queue loop +/usr/bin/systemctl --quiet is-active bootstrap-console.service && exit 0; # restart the needed services if [ $found -gt 0 ] ; then /usr/bin/systemctl daemon-reload > /dev/null 2>/dev/null - /usr/bin/systemctl reload httpd-*.service > /dev/null 2>/dev/null - /usr/bin/systemctl restart rsyslog.service > /dev/null 2>/dev/null + /usr/bin/systemctl --quiet is-active httpd-*.service && /usr/bin/systemctl reload httpd-*.service > /dev/null 2>/dev/null + /usr/bin/systemctl --quiet is-active rsyslog.service && /usr/bin/systemctl restart rsyslog.service > /dev/null 2>/dev/null fi