[systemd-devel] check to see if service is still alive

Lennart Poettering lennart at poettering.net
Thu May 26 13:15:32 UTC 2016


On Thu, 26.05.16 14:39, Thomas Güttler (guettliml at thomas-guettler.de) wrote:

> Am 26.05.2016 um 14:35 schrieb Andrei Borzenkov:
> >On Thu, May 26, 2016 at 3:18 PM, Thomas Güttler
> ><guettliml at thomas-guettler.de> wrote:
> >>I want to know if the service is alive,
> >
> >Define "service is alive".
> 
> the service is alive if a custom check method has the exit status of 0

That's out of the scope for systemd really. That's monitoring, and I
am not convinced having custom check function support in systemd is
really appropriate, this should be implemented outside of systemd
really.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list