procd: fire events at instance respawn and failure
authorZefir Kurtisi <zefir.kurtisi@neratec.com>
Thu, 13 Oct 2016 14:50:56 +0000 (16:50 +0200)
committerJohn Crispin <john@phrozen.org>
Fri, 14 Oct 2016 22:52:00 +0000 (00:52 +0200)
commit98dc89149231c5268de38fc98590f9267aa9d05b
tree75aa817e4e1d535a5aad5acff41475f4cbd4ad70
parent72f63807b3644ef7b8ab9025a02d7f509f39ad14
procd: fire events at instance respawn and failure

In addition to the existing 'start' and 'stop',
this commit adds 'respawn' and 'fail' events
to allow system monitors to detect and handle
unstable processes.

Signed-off-by: Zefir Kurtisi <zefir.kurtisi@neratec.com>
service/instance.c