From 77407998b5eeacbe2524e0a772c640ae2ef97cb9 Mon Sep 17 00:00:00 2001 From: NullBite <me@nullbite.com> Date: Mon, 19 Jun 2023 01:00:08 -0400 Subject: [PATCH] Update README.md --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 10ac2a5..42217ed 100644 --- a/README.md +++ b/README.md @@ -4,12 +4,14 @@ tmux, in a way that makes it extremely easy to use with systemd. ## instructions 1. install systemd unit in /etc/systemd/system, change `User` option to preferred user -2. create minecraft server instances in `~/.local/share/mcserver/instances` + - On Arch Linux, the best option is to build and install the PKGBUILD and + manually change the user with `systemctl edit mcserver@.service` +3. create minecraft server instances in `~/.local/share/mcserver/instances` - you can also symlink server directories from elsewhere on the system - use `instance/` as a starting point. you need, at minimum, a `start.sh` startup script that executes the server jar, the server jar itself and a `vars` file -3. `systemctl enable --now mcserver@instancename` +4. `systemctl enable --now mcserver@instancename` ## other info there's a few other random things in the provided `instance` folder: