scripts/start-connected-containers.sh aktualisiert

This commit is contained in:
2024-06-26 12:30:47 +02:00
parent 69d13b398a
commit bc465441f4

View File

@@ -17,7 +17,7 @@ if [ "${EXIT_STATUS}" != 0 ]; then
echo "---Couldn't connect to: ${CONNECTED_CONTAINERS%%:*} on port: ${CONNECTED_CONTAINERS#*:}"
exit 1
else
echo "---Connection to connected container: ${CONNECTED_CONTAINERS} lost, restarting in 10 seconds...---"
sleep 10
echo "---Connection to connected container: ${CONNECTED_CONTAINERS} lost, restarting in ${CONNECTED_CONTAINERS_TIMEOUT} seconds...---"
sleep ${CONNECTED_CONTAINERS_TIMEOUT}s
kill -SIGINT $(pidof core)
fi