chrisboulton/php-resque — pull request #46 by salimane (2012-03-13 00:23:30+00:00)
Title: write process group pid for monit stop command and process pid for monit watch

when the count > 1 , there is no way for monit to monitor the process. that created the issue in the [comment] (https://github.com/chrisboulton/php-resque/pull/43#issuecomment-4461695). I've added code to write the pid of the workers' parent to let monit monitor the whole process tree and then I've also written the process group id to let monit be able to kill the whole process tree in its stop command.