ditto
Tries to lock the pid file.
Parse the configuration file options to set up the pid lock.
Cleans up behind and releases the lock file.
See Implementation
ditto