El Domingo, 17 de Enero de 2010, Iñaki Baz Castillo escribió: > What about if Unicorn very quicky prepares the trap for USR2 so in case it > receives it soon when starting it ignores it (and logs some warning)? > Does it make sense?
Adding the following on the top of bin/unicorn solves the problem: # Ignore USR2 (instead of terminating script) in case it arrives too soon. trap("USR2") do $stderr.puts "WARN: USR2 signal (reload action) received too soon, ignored" end -- Iñaki Baz Castillo <i...@aliax.net> _______________________________________________ Unicorn mailing list - mongrel-unicorn@rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-unicorn Do not quote signatures (like this one) or top post when replying