It's neat! I've really not thought of this. Many thanks. On Fri, Dec 25, 2015 at 09:02:12PM +0100, Laurent Bercot wrote: > While I'm at it, here's the procedure to safely restart a > s6-fdholder-daemon: > > 1. Start up another, temporary, s6-fdholder-daemon > 2. s6-fdholder-transferdump the whole state from your main daemon to the tmp > 3. Restart the main daemon > 4. s6-fdholder-transferdump in the other direction > 5. Kill your tmp daemon. > > This can easily be automated, and you could even trap SIGTERM in your > main s6-fdholder-daemon service to call such a script and perform restarts > without state loss.
-- My current OpenPGP key: RSA4096/0x227E8CAAB7AA186C (expires: 2020.10.19) 7077 7781 B859 5166 AE07 0286 227E 8CAA B7AA 186C