Last active
August 29, 2015 14:02
-
-
Save aaomidi/b9ba5c269a4a4841298b to your computer and use it in GitHub Desktop.
Starts the Minecraft servers
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/bash | |
set -e | |
cd /mc/servers | |
for name in *; do | |
echo "Starting server $name" >&2 | |
mark2 start -i | |
sleep 5s | |
done | |
echo "Started all the servers!" >&2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment