From 32612929d9d5c0411a9d41f16f0be069efd4c923 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Sat, 10 Jun 2017 19:49:36 +0200 Subject: [PATCH] doc/conditions.md: Attempt to clarify PID file dependency handling Signed-off-by: Joachim Nilsson --- doc/conditions.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/conditions.md b/doc/conditions.md index 208f9ccf..bea84c6f 100644 --- a/doc/conditions.md +++ b/doc/conditions.md @@ -77,7 +77,10 @@ creates the file `/var/run/netd.pid`, and the condition `svc/sbin/netd` is satisfied. When the file is removed, the condition is cleared. The full path to the dependency is needed by finit to match the PID file -to a monitored process. +to a monitored process. In essence, Finit expects monitored services to +touch their PID files when they have reloaded their configuration files. +Some services do not support `SIGHUP` and are instead restarted, which +also results in the PID file being touched (re-created). Built-in conditions: