Bug#769965: minetest: please support init.d scripts and a global configuration file

Markus Koschany apo at gambaru.de
Mon Nov 17 23:08:41 UTC 2014


Package: src:minetest
Version: 0.4.10+repack-2
Severity: wishlist
Tags: patch

Hi,

I saw that this bug was still on your TODO list. It would be great if
the minetest server started automatically on boot. I have pushed my
patches to the experimental branch.

Main changes are:

1. Added a minetest-server.init script
2. Added postinst maintainer script to create a Debian-minetest system
   user who uses /var/games/minetest-server as HOME directory.
3. Addded a postrm maintainer script to remove all files in /var/games/minetest-server on purge.
4. Installed the server binary to /usr/lib/minetest
5. Created a minetestserver wrapper script.
6. Installed minetest.conf to /etc/minetest/minetest.conf and the
   server will now read from this global configuration file.

This will ensure that things like service minetest-server start/stop
work as expected.

I am happy to answer any questions that may arise. Please note that I
didn't push the changes to master because the latest upload to
unstable, -2, was missing.

Regards,

Markus



More information about the Pkg-games-devel mailing list