minecraft/server/templates/[email protected]
changeset 177 11f52d70bca4
parent 164 ae19501f5251
child 178 0f99f298361d
equal deleted inserted replaced
176:2d705e63f6cb 177:11f52d70bca4
     7 User={{minecraft_user}}
     7 User={{minecraft_user}}
     8 Group={{minecraft_user}}
     8 Group={{minecraft_user}}
     9 WorkingDirectory={{minecraft_parent_dir}}/minecraft/%i
     9 WorkingDirectory={{minecraft_parent_dir}}/minecraft/%i
    10 Restart=on-failure
    10 Restart=on-failure
    11 RestartSec=20 5
    11 RestartSec=20 5
    12 ExecStart=/usr/bin/java -Xms{{minecraft_mem}} -Xmx{{minecraft_mem}} -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true -jar server.jar nogui
    12 ExecStart=/opt/jdk-{{minecraft_java_version}}+{{minecraft_java_build}}/bin/java -Xms{{minecraft_mem}} -Xmx{{minecraft_mem}} -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true -jar server.jar nogui
    13 
    13 
    14 PrivateTmp=true
    14 PrivateTmp=true
    15 ProtectSystem=full
    15 ProtectSystem=full
    16 NoNewPrivileges=true
    16 NoNewPrivileges=true
    17 PrivateDevices=true
    17 PrivateDevices=true