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

Thomas Güttler guettliml at thomas-guettler.de
Thu May 26 07:55:02 UTC 2016


Hi,

I have a service which sends "I am alive" (WATCHDOG=1) via sd_notify.

Sometimes the custom service fails, but still sends the WATCHDOG=1.

Now "systemctl status" says that the service is running, but in reality
it is failed.

Is there a way in systemd to do a check to see if the service is up?

Can you understand my situation?

What is your advice?

Regards,
   Thomas Güttler


-- 
Thomas Guettler http://www.thomas-guettler.de/


More information about the systemd-devel mailing list