Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 15 lines (10 sloc) 278 Bytes
#!/bin/bash
# Create server config
echo "server-port=25566" > /app/server.properties
# Sync initial files
ruby bin/sync.rb init
# Print logs to STDOUT
touch server.log
nice tail -f server.log &
# Run minecraft
java -Xmx1024M -Xms1024M -jar vendor/minecraft_server.jar nogui