Check PID file

Check PID file
This commit is contained in:
Kroese 2023-05-11 02:53:03 +02:00 committed by GitHub
commit da0d32ba2d

View File

@ -1,6 +1,8 @@
#!/usr/bin/env bash
set -u
[ ! -f "/run/qemu.pid" ] && echo "QEMU not running yet.." && exit 0
# Retrieve IP from guest for Docker healthcheck
RESPONSE=$(curl -s -m 6 -S http://127.0.0.1:2210/read?command=10 2>&1)