Files
finit/plugins
Joachim Wiberg 280608f30e plugins: pidfile: track PID file in svc, if svc has none declared
Services that create their own PID files usually don't declare one with
Finit.  This patch adds support to track those PID files anywayt at
runtime for the purpose of identifying match svc_t when a PID file is
removed, i.e. when a service exits.

 - On IN_CREATE the pidfile.so plugin saves the pid file name in svc_t
 - On ON_DELETE the pidfile.so plugin finds svc_t based on pid file

Quicker tracking and less dead code, win-win.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2021-03-11 21:56:49 +01:00
..
2017-01-16 07:32:09 +01:00
2021-02-09 22:07:03 +01:00
2021-02-09 22:07:03 +01:00
2021-02-09 22:07:03 +01:00
2021-02-09 22:07:03 +01:00
2021-02-09 22:07:03 +01:00
2021-02-09 22:07:03 +01:00
2021-02-09 22:07:03 +01:00
2021-02-09 22:07:03 +01:00