Displaying 1 result from an estimated 1 matches for "mongrelservlet".
2007 Jun 26
11
mongrel not daemonizing for me..
...an''t get it to daemonize.
here is my configurator block::
config = Mongrel::Configurator.new(:host => OPTIONS[:ip]) do
#debug(''/gateway.rb'',[:access,:threads])
listener :port => OPTIONS[:port] do
uri("/gateway.rb", :handler => RUBYAMF::MongrelServlet.new,
:num_processors => OPTIONS[:processors])
end
run.join
if OPTIONS[:daemon]
daemonize
end
end
Any ideas? Also I was looking in the mongrel source and see that in the
daemonize method your calling Daemon.daemonize. Is that depending on some
library? I don''t se...