pennae 82931ea446 nixos/nix-containers: use SIGTERM to stop containers
systemd-nspawn can react to SIGTERM and send a shutdown signal to the container
init process. use that instead of going through dbus and machined to request
nspawn sending the signal, since during host shutdown machined or dbus may have
gone away by the point a container unit is stopped.

to solve the issue that a container that is still starting cannot be stopped
cleanly we must also handle this signal in containerInit/stage-2.
2021-04-28 14:07:35 +02:00
..
2021-04-04 01:43:46 +02:00
2021-03-25 22:06:54 +01:00
2021-04-04 01:43:46 +02:00
2021-03-03 01:16:41 +01:00
2021-04-04 01:43:46 +02:00