Add launch script
This commit is contained in:
parent
a1c87cc78c
commit
2714a8684b
10
bukkit/craftbukkit
Executable file
10
bukkit/craftbukkit
Executable 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}
|
Loading…
Reference in New Issue
Block a user