609 B
609 B
mcserver
dead simple wrapper script to manage multiple minecraft server instances in tmux, in a way that makes it extremely easy to use with systemd.
instructions
- install systemd unit in /etc/systemd/system, change
User
option to preferred user - 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 startup script that executes the server jar, the server jar itself and avars
file
systemctl enable --now mcserver@instancename