From b1087b76506c8f3f88c3b9d17f147ea0b3bb3cc6 Mon Sep 17 00:00:00 2001 From: James Valleroy Date: Sat, 21 Dec 2024 08:17:26 -0500 Subject: [PATCH] minetest: Provide default gameid argument Since Minetest 5.8.0, there is no longer a "default" game, so the --gameid argument must be used to select a game (from the list at https://content.luanti.org/packages/?type=game). Set minetest_game as the default game for FreedomBox. In the future, we can consider providing a list of popular game IDs, or allow a custom game ID. Work around for Debian bug #1090067. Closes: #2445. Tests: - Install Minetest on Debian testing. The service is running. Able to connect a client to the server. Signed-off-by: James Valleroy Reviewed-by: Sunil Mohan Adapa --- .../systemd/system/minetest-server.service.d/freedombox.conf | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 plinth/modules/minetest/data/usr/lib/systemd/system/minetest-server.service.d/freedombox.conf diff --git a/plinth/modules/minetest/data/usr/lib/systemd/system/minetest-server.service.d/freedombox.conf b/plinth/modules/minetest/data/usr/lib/systemd/system/minetest-server.service.d/freedombox.conf new file mode 100644 index 000000000..d61eea865 --- /dev/null +++ b/plinth/modules/minetest/data/usr/lib/systemd/system/minetest-server.service.d/freedombox.conf @@ -0,0 +1,4 @@ +# Workaround for Debian bug #1090067 +[Service] +ExecStart= +ExecStart=/usr/lib/minetest/minetestserver --config /etc/minetest/minetest.conf --logfile /var/log/minetest/minetest.log --gameid minetest_game