Browse Source

keep retrying logs

improve-reliability
Luke Childs 4 years ago
parent
commit
128f78fdd0
  1. 7
      umbrel-dev

7
umbrel-dev

@ -179,7 +179,12 @@ fi
# Stream Umbrel logs
if [[ "$command" = "logs" ]]; then
check_umbrel_dev_environment
run_in_vm "docker-compose logs -f"
while true; do
run_in_vm "docker-compose logs -f" || {
echo "$(date +"%T") Trying again in 1 second..."
}
sleep 1
done
exit
fi

Loading…
Cancel
Save