Owen Davies <[email protected]> wrote: > I cannot find any good example of a unicorn upstart task that works > properly for the following: > > * Upstart will restart if unicorn dies > * Can send USR2 signal to unicorn to do a no downtime deploys
I don't think you can combine the first two items. Sending QUIT to the original process (after USR2) will confuse Upstart (and similar process managers which rely on the wait/waitpid family of functions) into thinking unicorn died and needs to be restarted. If there's an existing upstart task for nginx, it should be easy to convert for usage with unicorn. Anyways if you find or come up with a good upstart task, I'll include it in the examples/ section (as long as it's Freely redistributable) _______________________________________________ Unicorn mailing list - [email protected] http://rubyforge.org/mailman/listinfo/mongrel-unicorn Do not quote signatures (like this one) or top post when replying
