This is pretty cool. will give it a run and see let you know.
Sunder
On 7/28/06, Andrew Bennett <
[EMAIL PROTECTED]> wrote:
I wanted to be able to specify in my /etc/rc.conf file whether
mongrel_cluster should be enabled and the mongrel_cluster_config file
for the init script, so I wrote this simple rc.d style script.
Just throw it in /usr/local/etc/rc.d/ and do a chmod +x
/usr/local/etc/rc.d/mongrel_cluster.sh
To enable the script, add mongrel_cluster_enable="YES" to /etc/rc.conf
and optionally add mongrel_cluster_config="/etc/mongrel_cluster"
The default config path is /usr/local/etc/mongrel_cluster
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.
Andrew Bennett
[EMAIL PROTECTED]
_______________________________________________
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
