I'm writing a framework in which I need to be able to easily restart services with new environment values. Currently I'm achieving this by ensuring that (s6-)supervise is always down when the service is down. Then, naturally, when the service comes up, it will have the environment given by the user.
Is there a more sane way to implement this? It seems counter to the core design to have supervise stop so often.
