box-o-sand/bukkit/craftbukkit
2015-05-14 17:46:21 -04:00

13 lines
271 B
Bash
Executable File

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