And simply do not use the --pid and --daemonize options in the first
place. You are using a service manager that tracks child processes and
that runs things in dæmon context to begin with. Employing the rickety
and dangerous PID file mechanism and vain attempts at self-dæmonization
is quite wrong.