Update README.md
This commit is contained in:
parent
bcd1c5bff2
commit
77407998b5
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user