This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
runMinecraftCommand="java -Xms256M -Xmx768M -jar minecraft_server.jar nogui" | |
startScript="start.sh" | |
echo "Great let's get minecraft setup!" | |
# Sanity check, do we have java installed? | |
if ! hash java 2>/dev/null; then | |
echo "You don't have java installed. You're gonna have a tough time." | |
echo "Are you sure you selected the default Amazon Linux HVM ami?" |