diff options
author | Philip Abernethy | 2015-07-03 19:16:00 +0200 |
---|---|---|
committer | Philip Abernethy | 2015-07-03 19:16:00 +0200 |
commit | 2c972cc0990cbd02218c6ad916b503b8c707f72a (patch) | |
tree | dc4350977bca49990125d2ee7db8a9e4d1392e43 /minecraftd | |
download | aur-2c972cc0990cbd02218c6ad916b503b8c707f72a.tar.gz |
Initial commit
Diffstat (limited to 'minecraftd')
-rw-r--r-- | minecraftd | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/minecraftd b/minecraftd new file mode 100644 index 000000000000..997f92882004 --- /dev/null +++ b/minecraftd @@ -0,0 +1,6 @@ +#!/bin/bash + +. /etc/conf.d/minecraft || echo "can't source /etc/conf.d/minecraft" + +cd $_SRVDIR +screen -dmS minecraft java -Xmx${MAXHEAP} -Xms${MINHEAP} -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=${THREADS} -XX:+AggressiveOpts -jar ${_SRVDIR}/${SERVERJAR} nogui |