Module | Chef::Expander::Daemonizable |
In: |
lib/chef/expander/daemonizable.rb
|
Daemonizes the process if configured to do so, and ensures that only one copy of the process is running with a given config by obtaining an exclusive lock on the pidfile. Also sets process user and group if so configured.