mirror of
https://github.com/troglobit/finit.git
synced 2026-10-01 13:33:09 +07:00
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>