until "${1}/"startserver.sh -configfile="${1}/"serverconfig.xml; do echo "Server died with code $?, restarting in 60 seconds..." >&2 sleep 60; done