This is compatible with the current version of resque: https://github.com/resque/resque/blob/50e6f3e26/lib/resque/worker.rb#L330 Needed to be able to pause workers when they boot instead of having to reserve and requeue a job.
When forking is disabled, the TERM/INT is swallowed because there's no @child pid recorded. This causes a Resque::DirtyExit exception to be raised instead.
…cesses (e.g. NewRelic RPM) which may have forked earlier.
Useful for inspecting the jobs woker in the hook