1
0
minetest-engine-multicraft2/misc/debian/multicraft-server.README.Debian
mckaygerhard b420f18423 reorganize distro files for packaging: deb/rpm/apk
* move debian directory to misc/debian
* move rmp shit distro directory the spec file and changelog
* move the alpine directory in misc with a minimal started files
* still there's an error on spec file for name of the tarball
* all of those files it depends of the previous commit that gives init/shistemd
2022-12-30 12:19:48 -04:00

50 lines
1.5 KiB
Plaintext

multicraft-server for Debian
==========================
Since version 0.4.10+repack-3 Debian supports running multiple Minetest servers.
An unprivileged system-wide user, Debian-minetest, controls the server.
* The home directory of this user is /var/games/multicraft.
* All log files are written to /var/log/multicraft.
* The default server configuration is located at /etc/multicraft/multicraft.conf.
systemd (default init system)
=============================
Debian's Minetest server supports template units. You can start multiple
servers by specifying the name of your configuration files on the command-line.
# This command will start the server with the default configuration,
# /etc/multicraft/multicraft.conf
systemctl start multicraftserver@multicraft.service
# For running a second PvP server, you can create another configuration
# file /etc/multicraft/pvp.conf and then start the server with
systemctl start multicraftserver@pvp.service
The new log file will then be written to /var/log/multicraft/multicraft-pvp.log.
SysV
====
You can start the server with default multicraft.conf configuration by using the
service command.
service multicraftserver start
and stop it with
service multicraftserver stop
To disable the init script use the facilities provided by your init system. For
instance, under sysvinit, use
update-rc.d multicraftserver disable
or under systemd, use
systemctl disable multicraftserver@multicraft.service