Re: PID is not regenerated when using -P and the master receives USR2

2010-01-01 Thread Iñaki Baz Castillo
El Jueves, 31 de Diciembre de 2009, Eric Wong escribió: You need to require 'unicorn/launcher' or 'unicorn' before you do any option parsing to stash ARGV in a safe place. Thanks, that was the point. In my script I load unicorn/launcher after args parsing so ARGV gets empty. Thanks. --

PID is not regenerated when using -P and the master receives USR2

2009-12-31 Thread Iñaki Baz Castillo
In case of using unicorn -P PIDFILE when the master receives a USR2 the pidfile is deleted and not regenerated anymore. In case of using pid mehotd in config file then it works well. It seems a bug, do I miss something? Regards. -- Iñaki Baz Castillo i...@aliax.net

Re: PID is not regenerated when using -P and the master receives USR2

2009-12-31 Thread Iñaki Baz Castillo
El Jueves, 31 de Diciembre de 2009, Eric Wong escribió: Iñaki Baz Castillo i...@aliax.net wrote: El Jueves, 31 de Diciembre de 2009, Iñaki Baz Castillo escribió: In case of using unicorn -P PIDFILE when the master receives a USR2 the pidfile is deleted and not regenerated anymore.