mirror of
https://github.com/bunkerity/bunkerized-nginx
synced 2023-12-13 21:30:18 +01:00
Remove bugged UI tests check in linux
This commit is contained in:
parent
db99d16874
commit
1db769c321
|
@ -109,30 +109,6 @@ else
|
|||
echo "🌐 Linux stack could not be healthy ❌"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
i=0
|
||||
while [ $i -lt 120 ] ; do
|
||||
if [ -f "/var/run/bunkerweb/ui.pid" ] ; then
|
||||
echo "🌐 Web UI is ready ✅"
|
||||
break
|
||||
fi
|
||||
sleep 1
|
||||
i=$((i+1))
|
||||
done
|
||||
if [ $i -ge 120 ] ; then
|
||||
echo "🛡️ Showing BunkerWeb journal logs ..."
|
||||
sudo journalctl -u bunkerweb --no-pager
|
||||
echo "🛡️ Showing BunkerWeb UI journal logs ..."
|
||||
sudo journalctl -u bunkerweb-ui --no-pager
|
||||
echo "🛡️ Showing BunkerWeb error logs ..."
|
||||
sudo cat /var/log/bunkerweb/error.log
|
||||
echo "🛡️ Showing BunkerWeb access logs ..."
|
||||
sudo cat /var/log/bunkerweb/access.log
|
||||
echo "🌐 Web UI is not ready ❌"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
sleep 3
|
||||
fi
|
||||
|
||||
# Start tests
|
||||
|
|
Loading…
Reference in a new issue