Re: deployment
Hi David, On Wed, Jun 03, 2009 at 10:24:01AM -0400, David Susco wrote: I have a few camping apps I'd like to start automatically if my server ever restarts. There's an init.d file that comes with mongrel_cluster that you can use for rails apps, is there anything out there for camping apps though? With the postamble containing all the configuration for the app, it seems that all the init.d file would have to do is execute the camping file. Has anyone done this/have any pointers? I know this is not exactly what you're asking since your question was mongrel based, but if you were to look at running camping 2.0 with passenger/rack you would get automatic restarts as well as working redirects. Plus you'd be able to also easily deploy rails apps (and even some python apps) with the same setup. Cheers, Jonathan ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list
Re: deployment
Maybe have a look at http://code.google.com/p/camping-picnic/ http://code.google.com/p/camping-picnic/Among other functionality, Picnic gives you a myapp-ctl wrapper script around your camping app that takes care of starting and stopping mongrel. Writing an init.d script around the myapp-ctl script is pretty trivial. Otherwise using mongrel_cluster to start up your app is probably your best choice. That's what we did before we switched to passenger. On Wed, Jun 3, 2009 at 10:24 AM, David Susco dsu...@gmail.com wrote: I have a few camping apps I'd like to start automatically if my server ever restarts. There's an init.d file that comes with mongrel_cluster that you can use for rails apps, is there anything out there for camping apps though? With the postamble containing all the configuration for the app, it seems that all the init.d file would have to do is execute the camping file. Has anyone done this/have any pointers? -- Dave ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list