[Mongrel] mongrel_cluster rc.d script for FreeBSD
carl.lerche at verizon.net
Mon Aug 7 17:51:00 EDT 2006
Thanks for the script. I use FreeBSD too so this is really useful.
I'm not much of a shell script person though. What would I have to
change in order to manage more than one clusters? (so that they all
can start on boot).
On Jul 29, 2006, at 3:54 PM, Andrew Bennett wrote:
> Hey Bradley,
> On Jul 28, 2006, at 4:57 PM, Bradley Taylor wrote:
>> > Would be nice if mongrel_cluster_ctl had some sort of "status"
>> > to see if the servers are actually running and what their pids are.
>> I'll look into this.
> I made a simple patch that displays the pids and port numbers of all
> the running mongrel clusters based on the pid files that exist. Not
> sure if that's the best way to do that, but it gets the job done.
> I use mongrel on a (FreeBSD) server at my work and I needed a way of
> automating the clusters and checking on their existance. It should
> work on both Linux and FreeBSD or anything that uses pid files (ie.
> not Windows).
> I also updated the rc.d script to include the status ability.
> Hope this helps.
> Andrew Bennett
> potatosaladx at gmail.com
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
More information about the Mongrel-users