diff options
Diffstat (limited to 'spigot.conf')
-rw-r--r-- | spigot.conf | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/spigot.conf b/spigot.conf index ebe90d70c615..17446f361767 100644 --- a/spigot.conf +++ b/spigot.conf @@ -4,7 +4,6 @@ # General parameters SERVER_ROOT="/srv/craftbukkit" BACKUP_DEST="/srv/craftbukkit/backup" -LOGPATH="/srv/craftbukkit/logs" BACKUP_PATHS="world world_nether world_the_end" # World paths separated by spaces relative to SERVER_ROOT KEEP_BACKUPS="10" GAME_USER="craftbukkit" @@ -12,10 +11,10 @@ MAIN_EXECUTABLE="spigot.jar" SESSION_NAME="spigot" # System parameters for java -MINHEAP="512M" -MAXHEAP="1024M" -THREADS="1" -JAVA_PARMS="-Xmx${MAXHEAP} -Xms${MINHEAP} -XX:ParallelGCThreads=${THREADS}" +# -Xms sets the intial heap size (must be a multiple of 1024 and greater than 2MB, no spaces!) +# -Xmx sets the maximum heap size (must be a multiple of 1024 and greater than 2MB, no spaces!) +# -XX:ParallelGCThreads defines the number of threads the server may use +SERVER_START_CMD="java -Xms512M -Xmx1024M -XX:ParallelGCThreads=1 -jar './${MAIN_EXECUTABLE}' nogui" # System parameters for the actual game server # Describes whether a daemon process which stops the server if it is not used by a player |