alpine-server/bin/checkpod
2025-08-17 15:01:12 +02:00

13 lines
157 B
Bash
Executable file

#!/bin/sh
. ./conf
exec 2>&1
state=0
while [ $state == 0 ]
do
sleep 10
$command pod inspect ${name}-pod | grep -q '"State": "Running"' || state=1
done