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
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
I haven''t looked into Rack in depth, is there a camping/rack/mongrel tutorial out there? Dave On Fri, Jun 5, 2009 at 1:54 AM, Jonathan Groll<lists at groll.co.za> wrote:> 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 at rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list >-- Dave