I don't think (IMHO) that a dependency restart event should be
necessary, just dependency stopped, because that's where the
restarting problem comes - dependant services always auto-restart when
their dependencies go down, so what we want is simply to stop that
from happening, right? Unless we do want to take some other action
when a dependency restarts. But let's assume that the user wants to
shut it down, prepare some stuff and then start it again.

For that case, a service should just shut down and restart (which
would lead to "WAITING_FOR_DEPS" status) when a dependency is shut
down (unless of course the flags discussed in here are set). When it
restarts, everything is handled automatically. So, is there really a
need for a restart event? Can we find a practical example for it?
-- 
_______________________________________________
Initng mailing list
[email protected]
http://jw.dyndns.org/mailman/listinfo/initng

Reply via email to