Francisco Alves Cabrita
2006-Oct-02 15:09 UTC
[Mongrel] Mongrel cluster FreeBSD rc.d script
Hello all After installing Mongrel, Mongrel Cluster and all it''s dependencies via gems under FreeBSD. Next I have configured all config/mongrel_cluster.yml for each Rails app, then: % mkdir /usr/local/etc/mongrel_cluster and likend each railsapp.yml to it''s refering app/config/mongrel_cluster.yml My question is, after preparing all base configs now I need to add some rc.d script to the base system /usr/local/etc/rc.d/mongrel_cluster.sh or something else. I think mongrel is "shiped" only with an init,d script. Is there someone who have this issue too and have solved it?! Thanks in advance Francisco -- Violence in reality is quite different from theory. -- Spock, "The Cloud Minders", stardate 5818.4 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://rubyforge.org/pipermail/mongrel-users/attachments/20061002/913dba76/attachment.bin
I use monit, and monit to start (and monitor) Mongrel. http://www.tildeslash.com/monit/ Vish On 10/2/06, Francisco Alves Cabrita <francisco at nortenet.pt> wrote:> > Hello all > > After installing Mongrel, Mongrel Cluster and all it''s dependencies via > gems > under FreeBSD. Next I have configured all config/mongrel_cluster.yml for > each > Rails app, then: > > % mkdir /usr/local/etc/mongrel_cluster > > and likend each railsapp.yml to it''s refering > app/config/mongrel_cluster.yml > > My question is, after preparing all base configs now I need to add some > rc.d > script to the base system /usr/local/etc/rc.d/mongrel_cluster.sh or > something > else. I think mongrel is "shiped" only with an init,d script. > > Is there someone who have this issue too and have solved it?! > > Thanks in advance > Francisco > > -- > Violence in reality is quite different from theory. > -- Spock, "The Cloud Minders", stardate 5818.4 > > > _______________________________________________ > Mongrel-users mailing list > Mongrel-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20061003/c54e9864/attachment.html
Cheers,> Is there someone who have this issue too and have solved it?!I think it should be quite easy to create a FreeBSD etc/rc.d script out of the included Linux version. Just have a look at some of the other rc.d scripts.> > Thanks in advance > FranciscoRegards, Jonathan -- Jonathan Weiss http://blog.innerewut.de
Francisco Alves Cabrita
2006-Oct-03 10:36 UTC
[Mongrel] Mongrel cluster FreeBSD rc.d script
Hi Vish Thanks very much for your tip! :) this tool seems very simple to use and maintain, more than bsdtools. Meanwhile, I think I haven''t make myself understand with my question :S I think this way is better: Does Mongrel have an rc.d script to start multiple mongrel instances as it has for init.d (System V) scripts. /usr/local/lib/ruby/gems/1.8/gems/mongrel_cluster-0.2.0/lib/mongrel_cluster/init.d Once again Thanks very much Francisco Cabrita Em Tuesday, 3 de October de 2006 06:46, o Vishnu Gopal escreveu:> I use monit, and monit to start (and monitor) Mongrel. > http://www.tildeslash.com/monit/ > > Vish > > On 10/2/06, Francisco Alves Cabrita <francisco at nortenet.pt> wrote: > > Hello all > > > > After installing Mongrel, Mongrel Cluster and all it''s dependencies via > > gems > > under FreeBSD. Next I have configured all config/mongrel_cluster.yml for > > each > > Rails app, then: > > > > % mkdir /usr/local/etc/mongrel_cluster > > > > and likend each railsapp.yml to it''s refering > > app/config/mongrel_cluster.yml > > > > My question is, after preparing all base configs now I need to add some > > rc.d > > script to the base system /usr/local/etc/rc.d/mongrel_cluster.sh or > > something > > else. I think mongrel is "shiped" only with an init,d script. > > > > Is there someone who have this issue too and have solved it?! > > > > Thanks in advance > > Francisco > > > > -- > > Violence in reality is quite different from theory. > > -- Spock, "The Cloud Minders", stardate 5818.4 > > > > > > _______________________________________________ > > Mongrel-users mailing list > > Mongrel-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/mongrel-users-- Either one of us, by himself, is expendable. Both of us are not. -- Kirk, "The Devil in the Dark", stardate 3196.1 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://rubyforge.org/pipermail/mongrel-users/attachments/20061003/b8a41bd8/attachment.bin