On 05/26/2016 01:15 PM, Lennart Poettering wrote:

On Thu, 26.05.16 14:39, Thomas Güttler (guettl...@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
> ><guettl...@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.

Administrators usually create type timer units which are bound to relevant type service unit and is run on periodic interval and checks if the service responses and restarts it if it's not for those use cases where the daemon/service is in some limbo state and not responding for whatever reason ( that is if they dont have any monitoring system like zenoss or nagios etc that does that for them ).

JBG
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to