mirror of
https://github.com/troglobit/finit.git
synced 2026-10-28 12:30:44 +00:00
doc: Note per-service reload behavior for conditions
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 file changed
+4
@@ -194,6 +194,10 @@ When Finit configuration files are changed and the `initctl reload`
|
|||||||
command is called, it is expected of services to touch their PID files
|
command is called, it is expected of services to touch their PID files
|
||||||
for Finit to reassert their conditions.
|
for Finit to reassert their conditions.
|
||||||
|
|
||||||
|
Similarly, when a single service is reloaded with `initctl reload NAME`,
|
||||||
|
its conditions are cleared and reasserted, ensuring dependent services
|
||||||
|
are properly updated.
|
||||||
|
|
||||||
Daemons that don't create PID files, or fail to touch them on reload,
|
Daemons that don't create PID files, or fail to touch them on reload,
|
||||||
can be worked around by using the `pid:/path/to/file.pid` syntax in
|
can be worked around by using the `pid:/path/to/file.pid` syntax in
|
||||||
the service stanza for the daemon. It is far from optimal since any
|
the service stanza for the daemon. It is far from optimal since any
|
||||||
|
|||||||
Reference in new issue
Block a user