nixos/containers: use machinectl poweroff
Previously, we were storing the leader pid in a runtime file and signalled SIGRTMIN+4 manually. In systemd 219, the `machinectl poweroff` command was introduced, which does that for us.
parent
b38c2839
Please register or sign in to comment