SwordArMor-gentoo-overlay/games-server/minecraft-server/files
Alarig Le Lay eff3c443d6
games-server/minecraft-server: Forgottend systemd service
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
2020-11-03 20:28:54 +01:00
..
minecraft-server.confd games-server/minecraft-server: New package 2020-08-21 13:59:48 +02:00
minecraft-server.confd-r1 games-server/minecraft-server: Version bump to 1.16.3 2020-09-10 21:35:21 +02:00
minecraft-server.initd-r3 games-server/minecraft-server: New package 2020-08-21 13:59:48 +02:00
minecraft-server.initd-r4 games-server/minecraft-server: Version bump to 1.16.3 2020-09-10 21:35:21 +02:00
minecraft-server.service games-server/minecraft-server: Forgottend systemd service 2020-11-03 20:28:54 +01:00
README.gentoo games-server/minecraft-server: New package 2020-08-21 13:59:48 +02:00
README.gentoo-r1 games-server/minecraft-server: Version bump to 1.16.3 2020-09-10 21:35:21 +02:00

This package provides an init script and a conf file.
You don't have to modify those files directly,
but instead you can make a symlink of that init script
and a copy of that conf file.
You would do this for every server, you want to setup.

For example, you wan't to setup an world called 'gentoo',
you would do:

cd /etc/init.d
ln -s minecraft-server minecraft-server.gentoo

cd /etc/conf.d
cp minecraft-server minecraft-server.gentoo

After that, make your settings in
/etc/conf.d/minecraft-server.gentoo.

If you don't make a symlink, but use the default scripts,
your world will be called 'main'.

To interact with the console of the corresponding world,
you can use the extra command attach:

rc-service minecraft-server attach
rc-service minecraft-server.gentoo attach