box-o-sand/bukkit/craftbukkit

13 lines
258 B
Plaintext
Raw Normal View History

2015-04-24 23:06:12 +00:00
#!/bin/bash
set -o errexit
TOP=$(dirname ${BASH_SOURCE[0]})
cd "${TOP}"
: ${JAVA_OPTS:=-Xmx1G -cp "${TOP}/jruby-complete.jar"}
: ${BUKKIT_ARGS:=-o true}
: ${GEM_HOME:=${TOP}/gems}
set -x
2015-04-24 23:06:12 +00:00
exec java ${JAVA_OPTS} -jar "${TOP}/craftbukkit.jar" ${BUKKIT_ARGS}