mirror of
https://github.com/AuxXxilium/arv-v-dsm.git
synced 2024-11-23 23:10:58 +07:00
fix: Skip healthcheck during shutdown
fix: Skip healthcheck during shutdown
This commit is contained in:
commit
478b6af755
@ -2,7 +2,7 @@
|
||||
set -u
|
||||
|
||||
[ ! -f "/run/qemu.pid" ] && echo "QEMU not running yet.." && exit 0
|
||||
[ -f "/run/qemu.counter"] && echo "QEMU is shutting down.." && exit 1
|
||||
[ -f "/run/qemu.counter" ] && echo "QEMU is shutting down.." && exit 1
|
||||
|
||||
# Retrieve IP from guest VM for Docker healthcheck
|
||||
RESPONSE=$(curl -s -m 16 -S http://127.0.0.1:2210/read?command=10 2>&1)
|
||||
|
Loading…
Reference in New Issue
Block a user