From 99ddf5636476e1a09d6cc993934c3b753e7c2883 Mon Sep 17 00:00:00 2001 From: zleyyij Date: Sun, 23 Jul 2023 08:17:03 -0600 Subject: [PATCH] vault backup: 2023-07-23 08:17:03 --- ...s a systemd service..md => Setting up a Minecraft server.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) rename Setting up Minecraft as a systemd service..md => Setting up a Minecraft server.md (85%) 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