From 691ab4e852112d3f19259260cba4f8e2c87e6a97 Mon Sep 17 00:00:00 2001 From: zleyyij Date: Sun, 23 Jul 2023 08:41:03 -0600 Subject: [PATCH] vault backup: 2023-07-23 08:41:03 --- Setting up a Minecraft server.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Setting up a Minecraft server.md b/Setting up a Minecraft server.md index b79da01..ebba5e0 100644 --- a/Setting up a Minecraft server.md +++ b/Setting up a Minecraft server.md @@ -21,7 +21,7 @@ I like to have the minecraft server jar in `/opt/minecraft` (`/opt` is for non-u sudo mkdir /opt/minecraft # Create a new group named `minecraft` sudo groupadd minecraft -# Add your user to it +# Add your user to it (You may need to reload your user session) sudo usermod -aG minecraft your-username-here # Make it so that the minecraft group owns that folder sudo chgrp minecraft /opt/minecraft @@ -29,7 +29,7 @@ sudo chgrp minecraft /opt/minecraft # The user that owns the folder has read, write, and execute perms # The group that owns the folder has read, write, and execute perms # Anyone not in the above categories can read, but not write or execute -sudo chmod 775 +sudo chmod 775 /opt/minecraft ``` This enables minecraft to run in the background, restart if it crashes, etc etc.