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-diag | |
download | aur-2c972cc0990cbd02218c6ad916b503b8c707f72a.tar.gz |
Initial commit
Diffstat (limited to 'minecraftd-diag')
-rw-r--r-- | minecraftd-diag | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/minecraftd-diag b/minecraftd-diag new file mode 100644 index 000000000000..a0bd0458d3c6 --- /dev/null +++ b/minecraftd-diag @@ -0,0 +1,7 @@ +#!/bin/bash + +. /etc/conf.d/minecraft || echo "can't source /etc/conf.d/minecraft" + +cd $_SRVDIR +echo "If the next command executes correctly, then something is wrong with screen." +su minecraft -c "PATH=/opt/java/bin/:/usr/bin/:$PATH java -Xmx${MAXHEAP} -Xms${MINHEAP} -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=${THREADS} -XX:+AggressiveOpts -jar ${_SRVDIR}/${SERVERJAR} nogui" |