Using the fifo trick ? As a side note, though the s6 documentation considers it "dirty", similar methods  are widely used for process synchronisation in CSP-style concurrency.
 <http://skarnet.org/software/s6/s6-svscan-1.html#log>.  <https://talks.golang.org/2012/concurrency.slide#21>. On Fri, Jan 27, 2017 at 11:04:10AM +0100, Guillaume Perréal wrote: > I have added "s6-sleep 1" before s6-rc-init to fix it, but I am > wondering if there is an more elegant yet simple way to handle this ? -- My current OpenPGP key: RSA4096/0x227E8CAAB7AA186C (expires: 2020.10.19) 7077 7781 B859 5166 AE07 0286 227E 8CAA B7AA 186C