mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 13:30:02 +08:00
Check PID file
This commit is contained in:
parent
0a815a6901
commit
6aaafdd76f
@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
set -u
|
||||
|
||||
[ ! -f "/run/qemu.pid"] && echo "QEMU not running yet.." && exit 0
|
||||
[ ! -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user