Unverified Commit 520c70ab authored by xrh0905's avatar xrh0905 Committed by GitHub
Browse files

feat: Allow shutdown timeout override (#995)

Mitigation #987
parent 67a7fbc9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -4,12 +4,12 @@ set -Eeuo pipefail
# Configure QEMU for graceful shutdown

API_CMD=6
API_TIMEOUT=50
API_HOST="127.0.0.1:2210"
: "${API_TIMEOUT:="50"}" # API Call timeout

QEMU_TERM=""
QEMU_PORT=7100
QEMU_TIMEOUT=50
: "${QEMU_TIMEOUT:="50"}" # QEMU Termination timeout
QEMU_DIR="/run/shm"
QEMU_PID="$QEMU_DIR/qemu.pid"
QEMU_LOG="$QEMU_DIR/qemu.log"