File: minetest-server.README.Debian

package info (click to toggle)
minetest 5.3.0%2Brepack-2.1%2Bdeb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 42,500 kB
  • sloc: cpp: 134,290; xml: 46,174; ansic: 4,423; sh: 1,060; java: 455; python: 252; makefile: 35
file content (50 lines) | stat: -rw-r--r-- 1,484 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
minetest-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/minetest-server.
    * All log files are written to /var/log/minetest.
    * The default server configuration is located at
      /etc/minetest/minetest.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/minetest/minetest.conf

    systemctl start minetest-server@minetest.service

    # For running a second PvP server, you can create another configuration
    # file /etc/minetest/pvp.conf and then start the server with

    systemctl start minetest-server@pvp.service

The new log file will then be written to /var/log/minetest/pvp.log.

SysV
====

You can start the server with default minetest.conf configuration by using the
service command.

    service minetest-server start

and stop it with

    service minetest-server stop

To disable the init script use the facilities provided by your init system. For
instance, under sysvinit, use

    update-rc.d minetest-server disable

or under systemd, use

    systemctl disable minetest-server@minetest.service