>> * The fd holder in s6 seem unable to retain its state over restart,
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.
--
Laurent
Received on Fri Dec 25 2015 - 20:02:12 UTC