mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-12-14 14:20:32 +08:00
Check PID file
Check PID file
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -u
|
set -u
|
||||||
|
|
||||||
|
[ ! -f "/run/qemu.pid" ] && echo "QEMU not running yet.." && exit 0
|
||||||
|
|
||||||
# Retrieve IP from guest for Docker healthcheck
|
# Retrieve IP from guest for Docker healthcheck
|
||||||
RESPONSE=$(curl -s -m 6 -S http://127.0.0.1:2210/read?command=10 2>&1)
|
RESPONSE=$(curl -s -m 6 -S http://127.0.0.1:2210/read?command=10 2>&1)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user