Restarting dependant services

From: Jan Olszak <jan.olszak_at_vestiacom.com>
Date: Thu, 6 Jul 2017 13:43:29 +0200

Hi!
This may be a pretty basic question...

I have couple of dependant, longrun services, started with s6-rc-init. ( B
depends on A)

I need to ensure that if A service is down (crash or exit) all dependant B
services will be restarted.
Right now if I kill -9 <pid A> all B services stay alive.

How do I achieve this?

Thanks!
Jan
Received on Thu Jul 06 2017 - 11:43:29 UTC

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