Merb Init Script
Rogelio J. Samour
rogelio.samour at gmail.com
Fri Jan 19 14:42:46 EST 2007
Correct but if I wanted to do a /etc/merb/merb_app1.yml
and /etc/merb/merb_app2.yml each of which are symbolic links to each
app's /path/to/dist/conf/merb.yml
Then I could do a /etc/init.d/merb restart and restart all of merb apps.
I guess my question would be: is this a good idea and a possible one?
-rjs-
On Fri, 2007-01-19 at 11:35 -0800, Ezra Zygmuntowicz wrote:
> On Jan 19, 2007, at 8:04 AM, Rogelio J. Samour wrote:
>
> > I'm trying to emulate the mongrel_cluster_ctl but it takes a -c
> > conf_file option... meaning I can run it from anywhere as long as I
> > tell it where the conf file is. Merb doesn't have that capability does
> > it? (it has an additional/supplemental config like mup.conf etc)
> >
> > Do I have to be under the merb_app root /path/to/merb/app/ to be able
> > to run merb?
> >
> > Let me know.
> >
> > Thanks,
> >
> > rogelio
>
>
> No you don't have to be in the merb apps root. You can pass merb
> root as a command line flag:
>
> $ merb -m /path/to/merbapp
>
>
> Cheers-
> -- Ezra Zygmuntowicz
> -- Lead Rails Evangelist
> -- ez at engineyard.com
> -- Engine Yard, Serious Rails Hosting
> -- (866) 518-YARD (9273)
>
>
More information about the Merb-devel
mailing list