Re: Some random thoughts on s6 and execline...

From: Casper Ti. Vector <caspervector_at_gmail.com>
Date: Sat, 26 Dec 2015 15:17:10 +0800

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
Received on Sat Dec 26 2015 - 07:17:10 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:44:19 UTC