* Only lock when NOT running in daemon mode, and let start-stop-daemon etc. handle that
* Trap signals so that killing the parent process will clean up child processes also