Open robinknaapen opened 5 months ago
Edit:
I accidentally left the healthcheck my in test service script. This time I left the service run without crashing instantly and found that the healthcheck does run.
To my surprise, the healthcheck does not trigger after the instant crash, and neither does the unhealthy function.
I will play with the respawn variables tomorrow to see if this makes a difference and post about this later.
Description
When using the supervise-daemon I expect healthchecks to work as described in supervise-daemon-guide.md
What I found
When the process under the supervise-daemon crashes the service still has the status
started
. Which is technically true since the supervise-daemon respawns the process with the given settings.When using the supervise-daemon I can not utilize the
healthcheck
andunhealthy
functions.Example
Given the above example, I expect the
healthcheck
andunhealthy
to be utilized. But neither is ran.When calling
healthcheck
via the service command:service <service name> healtcheck
thehealthcheck
is ran, but not theunhealthy
.