Bug#828018: minetest-server is not shutdown properly

Markus Koschany apo at debian.org
Fri Jun 24 03:48:00 UTC 2016


Control: forwarded -1 https://github.com/minetest/minetest/issues/4251

On 24.06.2016 03:01, Matthew Bekkema wrote:
> On Thu, Jun 23, 2016 at 11:09:59PM +0200, Markus Koschany wrote:
>> Restarting the server is equivalent with stopping and starting the
>> server again. Systemd will send a SIGTERM signal by default to the
>> server to terminate the running process. I don't see a reason why we
>> should use a different KillSignal in this case. SIGINT means
>> interrupting the process.
> 
> I took a quick look through the code, it looks like they only add a handler for
> SIGINT:
> 
> https://github.com/minetest/minetest/blob/095f623fa7278375a6fa4fe01ed39d2b68cce7af/src/porting.cpp#L97

This seems to be true. I have forwarded this issue upstream and I think
minetestserver should support SIGTERM signals as well.

I have tested the KillSignal=SIGINT option which appears to work but the
current behavior works for me as well.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20160624/463d88ab/attachment.sig>


More information about the Pkg-games-devel mailing list