Skip to content
Commit 90a3908e authored by Florian Klink's avatar Florian Klink
Browse files

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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment