Killing WEBrick Daemon

Posted by SibProgrammer on January 09, 2010|Comments

Recently I played with WEBrick server and found the lack of information on how to kill it if it was started as a daemon. Attempt to kill <pid> have no effect.

After some time of thinking I understand that SIGINT (Ctrl+C) can be sent to stop the daemon. Tried and have a success: kill -2 <pid> Really better than sending SIGKILL (9) signal.