Skip to content

Commit

Permalink
Check PID file
Browse files Browse the repository at this point in the history
Check PID file
  • Loading branch information
kroese committed May 11, 2023
2 parents c2b21d1 + 9ca4b3e commit 14212a5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions run/check.sh
Original file line number Diff line number Diff line change
@@ -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)

Expand Down

0 comments on commit 14212a5

Please sign in to comment.