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.
signature.asc
Description: OpenPGP digital signature

