Skip to content

Commit 5da93a0

Browse files
committed
cicd: workaround possible /sys/fs/cgroup issue
1 parent a1b0f51 commit 5da93a0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

github-actions-tests/mamonsu_build.sh

+6
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@ if [ "${OS%:*}" = "centos" ]; then
4444
cat /mamonsu/github-actions-tests/sources/agent_3.5.9.conf > /etc/mamonsu/agent.conf
4545
systemctl daemon-reload
4646
systemctl restart mamonsu
47+
systemctl status mamonsu
48+
if [[ $? -ne 0 ]]; then
49+
# overcome possible GitHub limitations on /sys/fs/cgroup
50+
/etc/init.d/mamonsu restart
51+
/etc/init.d/mamonsu status
52+
fi
4753
sleep 5
4854
echo && echo && echo "mamonsu version:"
4955
mamonsu --version

0 commit comments

Comments
 (0)