1
0
minetest-engine-multicraft2/misc/debian/multicraft-server.README.Debian
mckaygerhard 3bb7f97eb4 provide a right description for distro packagers
* set description to minetest based voxel game
* sync rules configuration for CMAKE on apk, rpm and deb based distros
* sync installation paths for apk, rpm and deb based distros
* fix for those syncs the CMakefile
2023-01-03 14:35:27 -04:00

53 lines
1.6 KiB
Plaintext

multicraft-server for Debian
==========================
The documentation of api and information is on the multicraft-data package,
check the files at /usr/share/doc/multicraft-data/
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