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