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 ```