* added sisvinit unit service script * added systemshit unit service script * added debian packaging script and fiels in root dir * added spec file for shit rpm distros * added first intent of alpine packaging
50 lines
1.5 KiB
Plaintext
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
|
|
|