Merge branch 'sleep_signals'

This commit is contained in:
Tyler Pace
2023-04-18 18:24:18 -07:00
+4 -2
View File
@@ -116,7 +116,8 @@ then
if [ "$AUTOHEAL_START_PERIOD" -gt 0 ]
then
echo "Monitoring containers for unhealthy status in $AUTOHEAL_START_PERIOD second(s)"
sleep "$AUTOHEAL_START_PERIOD"
sleep "$AUTOHEAL_START_PERIOD" &
wait $!
fi
while true
@@ -147,7 +148,8 @@ then
fi
fi
done
sleep "$AUTOHEAL_INTERVAL"
sleep "$AUTOHEAL_INTERVAL" &
wait $!
done
else