diff --git a/github-actions-tests/mamonsu_build.sh b/github-actions-tests/mamonsu_build.sh index 137e072..1ee5c65 100644 --- a/github-actions-tests/mamonsu_build.sh +++ b/github-actions-tests/mamonsu_build.sh @@ -44,6 +44,12 @@ if [ "${OS%:*}" = "centos" ]; then cat /mamonsu/github-actions-tests/sources/agent_3.5.9.conf > /etc/mamonsu/agent.conf systemctl daemon-reload systemctl restart mamonsu + systemctl status mamonsu + if [[ $? -ne 0 ]]; then + # overcome possible GitHub limitations on /sys/fs/cgroup + /etc/init.d/mamonsu restart + /etc/init.d/mamonsu status + fi sleep 5 echo && echo && echo "mamonsu version:" mamonsu --version