Hey there, 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).
Thanks, -carl 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" >> switch >> > 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 > [EMAIL PROTECTED] > <mongrel_cluster-0.2.0+status.patch.diff> > <mongrel_cluster.sh> > _______________________________________________ > Mongrel-users mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/mongrel-users _______________________________________________ Mongrel-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/mongrel-users
