Add launch script

This commit is contained in:
Dan Buch 2015-04-24 19:06:12 -04:00
parent a1c87cc78c
commit 2714a8684b

10
bukkit/craftbukkit Executable file
View File

@ -0,0 +1,10 @@
#!/bin/bash
set -o errexit
: ${JAVA_OPTS:=-Xmx1G}
: ${BUKKIT_ARGS:=-o true}
TOP=$(dirname ${BASH_SOURCE[0]})
cd "${TOP}"
exec java ${JAVA_OPTS} -jar "${TOP}/craftbukkit.jar" ${BUKKIT_ARGS}