doc/conditions.md: Attempt to clarify PID file dependency handling

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2017-06-10 19:49:36 +02:00
1 parent d49683cfb6
commit 32612929d9
1 file changed
+4 -1
+4 -1
View File
@@ -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. 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 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: Built-in conditions: