shaneharter/PHP-Daemon — Issue #4: Provide a way to kill / restart daemon processes
Author: vitch
Created: 2011-10-10 17:20:08+00:00
State: open

I was thinking it would be nice to have an additional commandline option which would kill (or possibly restart) any processes (started with -d) that are currently running for a given daemon.

My use-case is because I'm still developing the code for my daemons. So occasionally I deploy new code to the server and have to do a `kill pid` to get the new code read in and executed. It would be nice if there was a way to do this without first looking up the pid etc...