On Fri, Feb 14, 2020 at 05:06:40PM +0300, innerspacepilot wrote: > If you read it carefully, there is NO signal for shutdown. > Or lxd should also create file /etc/runit/stopit and set permissions for > that?
Here runit provided a small machanism, and you also need a policy, like those from Void or Gentoo. Someone can provide a container template with a given policy, and then the user does not need to care about creating it by himself. The same goes for many other init systems. > Also what complexity you are talking about? runit.c is only 346 lines long. Note the word "coupling" I used: <https://en.wikipedia.org/wiki/Coupling_(computer_programming)>. -- My current OpenPGP key: RSA4096/0x227E8CAAB7AA186C (expires: 2020.10.19) 7077 7781 B859 5166 AE07 0286 227E 8CAA B7AA 186C