From 252fe16e6ece2bf37406622edd5fd8982a63cca1 Mon Sep 17 00:00:00 2001 From: zleyyij Date: Sun, 23 Jul 2023 08:38:03 -0600 Subject: [PATCH] vault backup: 2023-07-23 08:38:03 --- Setting up a Minecraft server.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Setting up a Minecraft server.md b/Setting up a Minecraft server.md index debacb5..49909fc 100644 --- a/Setting up a Minecraft server.md +++ b/Setting up a Minecraft server.md @@ -19,7 +19,11 @@ I like to have the minecraft server jar in `/opt/minecraft` (`/opt` is for non-u ```sh # Make a new folder named `minecraft` in `/opt` sudo mkdir /opt/minecraft - +# Create a new group named `minecraft` +sudo groupadd minecraft +# Add your user to it +sudo usermod -aG minecraft your-username-here +# Make it so that the *minecraft* group owns ``` This enables minecraft to run in the background, restart if it crashes, etc etc.