I patched runit-2.1.2 (ALTLinux build) to handle SIGPWR on systems which support it.
SIGPWR cause immediate system shutdown just like SIGCONT with executable /etc/runit/stopit present in system.
It works with LXD for me.
mx
---
Received on Tue Apr 14 2020 - 16:57:55 UTC