After following like 20 sources on how to set up a mongrel cluster, I got most of it working. There are some nagging questions though...
1. In my mongrel_cluster.yml, I specified the pid name to be mongrel.pid. When I tried cap deploy:stop, it called reaper, which was looking for pids with the default pattern (with the word "dispatch" in it), couldn't find my mongrel pids and failed measurably. I looked all over for an option to specify the pid pattern in deploy.rb, but alas, no cigar. So, I just changed the pid name to dispatch.pid. Needless to say, this drives me slightly mad.
Somewhere on the net I found how to override the stop task, but that failed measurably too. The code was this (to be put in deploy.rb):
namespace :deploy do task :restart do mongrel_cluster cluster::stop mongrel_cluster cluster::start end end
But it's not very important. I would just like to know how to pass options to reaper.
2. the cap:web:disable command works fine -- the page is uploaded but the site still works like nothing happened. What could be the reason?
Thanks for any ideas.