Re: updating services' environment

From: Laurent Bercot <>
Date: Wed, 9 Sep 2015 00:09:12 +0200

On 08/09/2015 23:57, Buck Evan wrote:
> I'm writing a framework in which I need to be able to easily restart
> services with new environment values.

  Start your run script with "s6-envdir env", and allow users to
modify variables in env ?

> It seems counter to the core design to have supervise stop so often.

  It's also counter to the core design to inherit a service's environment
from the caller. The point is to make runs reproducible, so the
environment is always inherited from the supervision tree. Don't touch
supervisors, just have the run scripts get their environment from
somewhere in the filesystem and make your changes there.

Received on Tue Sep 08 2015 - 22:09:12 UTC

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