On Thu, Jan 28, 2021 at 10:41:24PM -0300, Guillermo wrote: > Out of curiosity, do you have a reason for wanting to keep the > "old-fashioned way"? Is it a goal of your project to depend on s6 and > s6-rc, but not current s6-linux-init? It seems to me that doing so > would be easier. It even looks like you could use the current > /etc/slew/init/rc.{init,fin} scripts (perhaps with minor adjustments) > as s6-linux-init's rc.init and rc.shutdown for slew, respectively.
Not using s6-linux-init has never been an explicit goal, but using static scripts was a natural choice when s6-linux-init only provided `s6-linux-init-maker', which produced scripts that were not that flexible. Currently I do not understand the `s6-linux-init-shutdown(d)' way well, so the old-fashioned way is retained at least for now, given its simplicity in implementation and seemingly better flexibility. Frankly it is my intuition that the new way costs more than the old way, but does not provide that much in return. (Feel free to prove me wrong.) -- My current OpenPGP key: RSA4096/0x227E8CAAB7AA186C (expires: 2022.09.20) 7077 7781 B859 5166 AE07 0286 227E 8CAA B7AA 186C