From 24860a2e78cae5b92331daf01ba9abb82ebaf16b Mon Sep 17 00:00:00 2001 From: zleyyij Date: Sun, 23 Jul 2023 09:13:03 -0600 Subject: [PATCH] vault backup: 2023-07-23 09:13:03 --- Setting up a Minecraft server.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Setting up a Minecraft server.md b/Setting up a Minecraft server.md index 45c7018..026278c 100644 --- a/Setting up a Minecraft server.md +++ b/Setting up a Minecraft server.md @@ -81,10 +81,9 @@ After=network-online.target # Group=bar # Where you want the command to be run - - +WorkingDirectory=/opt/minecraft # This command is run when the service is started -ExecStart=/usr/bin/java -Xmx8G -Xms3g -jar /path/to/server.jar --nojline --noconsole +ExecStart=/usr/bin/java -Xmx8G -Xms3g -jar /path/to/server.jar nogui ```