Single fork mode currently tries to write the PID file, although this is not the documented behavior.
Single-fork was meant explicitly to just give you start/stop/restart functionality for something that will otherwise daemonize itself. Part of daemonizing itself is writing the PID file, since something daemonizing should follow the standard double-fork, therefore I cannot know what the PID of the eventually-lauched process is.
Daemon::Control writing to the PID file in this case is a bug.
[ ] Remove the writing of the PID file in sub _fork
[ ] Confirm the rest of the code is sane in single fork mode.
Single fork mode currently tries to write the PID file, although this is not the documented behavior.
Single-fork was meant explicitly to just give you start/stop/restart functionality for something that will otherwise daemonize itself. Part of daemonizing itself is writing the PID file, since something daemonizing should follow the standard double-fork, therefore I cannot know what the PID of the eventually-lauched process is.
Daemon::Control writing to the PID file in this case is a bug.
[ ] Remove the writing of the PID file in
sub _fork[ ] Confirm the rest of the code is sane in single fork mode.