diff --git a/Setting up Minecraft as a systemd service..md b/Setting up a Minecraft server.md similarity index 85% rename from Setting up Minecraft as a systemd service..md rename to Setting up a Minecraft server.md index 26e3056..9289ea1 100644 --- a/Setting up Minecraft as a systemd service..md +++ b/Setting up a Minecraft server.md @@ -1,3 +1,4 @@ + This enables minecraft to run in the background, restart if it crashes, etc etc. In `/etc/systemd/system`, place this file and tailor it to your liking. @@ -15,5 +16,5 @@ After=network-online.target # Group=bar # This command is run when the service is started -|ExecStart=/usr/bin/java -Xmx3G -jar /path/to/server.jar --nojline --noconsole +|ExecStart=/usr/bin/java -Xmx8G -Xms3g -jar /path/to/server.jar --nojline --noconsole ``` \ No newline at end of file