Re: [Puppet Users] puppet & unicorn SIGINT shutdown issue

2013-02-20 Thread Patrick Hemmer
Well I figured it out. In `application/master.rb` line 142, puppet is doing `Signal.trap(:INT) ... exit(0)`, which prevents unicorn from getting the signal and shutting down properly. Why is this code there? Any reason I shouldn't be heading right over to the bug tracker and entering in a bug repor

[Puppet Users] puppet & unicorn SIGINT shutdown issue

2013-02-20 Thread Patrick
So I started running puppet under unicorn, and it works, but there is a problem with shutting it down. Whenever you send a SIGINT to the master unicorn process, the worker processes are left running and listening on the socket until they time out and shut themselves down. However if you send it