mirror of
https://github.com/troglobit/finit.git
synced 2026-11-14 19:03:16 +00:00
doc/conditions.md: Attempt to clarify PID file dependency handling
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
d49683cfb6
commit
32612929d9
1 file changed
+4
-1
+4
-1
@@ -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:
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user