scripts/start-ping.sh aktualisiert

This commit is contained in:
2024-04-10 19:37:38 +02:00
parent 21acf3b4e9
commit 94da15d653

View File

@@ -1,4 +1,5 @@
#!/bin/bash
sleep 10
while true; do
if ! ping -c 1 -W 10 ${PING_IP} >/dev/null 2>&1 ; then
echo "---Ping from ${PING_IP} failed, restarting container,...---"