collabora-online/debian
Ashod Nakashian 2d464fd7cc service: change KillMode to mixed
According to the systemd.kill man page, when
KillMode=control-group "all remaining processes
in the control group of this unit will be killed
on unit stop." This ends up killing the kit
processes as well, which prevents saving any
unsaved modifications before shutting down.

The setting we want is 'mixed'. According to
the man page, with mixed "the SIGTERM signal is
sent to the main process while the subsequent
SIGKILL signal is sent to all remaining processes
of the unit's control group."

In other words, with KillMode=mixed, coolwsd
will receive the termination signal and it will
manage its children. But systemd will still
make sure that when coolwsd terminates, or when
it times out, all children and properly killed.

This changes KillMode to mixed.

Change-Id: I4123dfe5143d2cc6223b1542821a10bad86fb449
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2024-01-16 21:33:52 +01:00
..
source Apply the pre-branch rename script to re-organize the source. 2016-11-25 09:58:48 +00:00
changelog Bump version to 23.05.7.2 2024-01-11 17:29:13 +01:00
compat compat level 10 by default restarts service after upgrade -- this is what we want for minimal downtime 2021-03-18 15:06:34 +01:00
control Rewrite coolwsd-generate-proof-key in C++ 2023-07-22 00:14:48 +02:00
coolwsd.postinst.in Rewrite coolwsd-generate-proof-key in C++ 2023-07-22 00:14:48 +02:00
coolwsd.postrm rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
coolwsd.preinst rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
coolwsd.service service: change KillMode to mixed 2024-01-16 21:33:52 +01:00
copyright rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
rules configure option to disable building unit tests 2023-06-16 09:12:21 +02:00