mirror of
https://github.com/troglobit/finit.git
synced 2026-10-22 11:36:07 +00:00
doc: document stale pidfile cleanup and new restart log
* src/pid.c: note the stale-pidfile-cleanup exception to the documented "Finit does not touch pid:! pidfiles" rule. * doc/config/services.md: add a user-facing paragraph on the same. * doc/ChangeLog.md: add Unreleased section covering this PR -- stale pidfile cleanup, restart log with signal name and core dump flag, and the SIGUNKOWN typo fix. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
3 files changed
+37
-1
No files matched your search
@@ -201,7 +201,10 @@ int pid_file_set(svc_t *svc, char *file, int not)
|
||||
* pid:!foo --> !/run/foo.pid
|
||||
* pid:!/run/foo.pid --> !/run/foo.pid
|
||||
*
|
||||
* Note, nothing is created or removed by Finit in this latter form.
|
||||
* Nothing is created or removed by Finit in this latter form, with one
|
||||
* exception: a verifiably stale pidfile (still names the just-reaped
|
||||
* PID, and that PID is no longer alive) is removed so the next instance
|
||||
* can start. See service_clean_pidfile() in src/service.c.
|
||||
*/
|
||||
int pid_file_parse(svc_t *svc, char *arg)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user