vault backup: 2023-07-23 08:41:03

This commit is contained in:
zleyyij 2023-07-23 08:41:03 -06:00
parent 485232feba
commit 691ab4e852

View File

@ -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.