2015-04-24 23:06:12 +00:00
|
|
|
#!/bin/bash
|
|
|
|
set -o errexit
|
|
|
|
|
|
|
|
TOP=$(dirname ${BASH_SOURCE[0]})
|
|
|
|
cd "${TOP}"
|
|
|
|
|
2015-05-14 21:46:21 +00:00
|
|
|
: ${JAVA_OPTS:=-Xmx1G -cp "${TOP}/jruby-complete.jar:${TOP}/jruby"}
|
2015-04-25 12:03:32 +00:00
|
|
|
: ${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}
|