Open s6577t opened 11 years ago
nope. HUP is also used by unicorn. I started a Go process started via an ssh session, put it into the bg and then closed the ssh session, no HUP signal was received.
OK thanks for confirming this. I had seen HUP being used for soft reloads in the past so it seemed appropriate. On Jul 25, 2013 10:03 AM, "Sam Taylor" notifications@github.com wrote:
nope. HUP is also used by unicorn. I started a Go process started via an ssh session, put it into the bg and then closed the ssh session, no HUP signal was received.
— Reply to this email directly or view it on GitHubhttps://github.com/pandastream/socketmaster/issues/4#issuecomment-21541378 .
yeah. I tried it out on Darwin and Debian (ubuntu).
https://en.wikipedia.org/wiki/Unix_signal
If you run
socketmaster -command my_command &
and then close the shell, socket master will start a new child processMaybe use USR2 instead?