I am using s6 (http://skarnet.org/software/s6/index.html) to supervise my processes. This does not use pidfiles to keep track of the processes.
It is possible to use CHECK PROCESS ... MATCHING ... but I prefer to point to the exact PID.
I am able to programmatically retrieve the PID of the supervised process, so I was thinking that something like this would help me out:
CHECK PROCESS <unique name> PIDFILE <executable file>
The executable file should output the PID of the process when executing.
Would you be interested in adding something like that? Thanks!