[Catalyst] upstart script for Starman-based app?
Octavian Rasnita
octavian.rasnita at ssifbroker.ro
Fri May 4 07:49:40 GMT 2012
From: "Eden Cardim" <edencardim at gmail.com>
Subject: Re: [Catalyst] upstart script for Starman-based app?
>>>>>> "Octavian" == Octavian Rasnita <orasnita at gmail.com> writes:
>
> Octavian> Thanks. I know about it, but it doesn't solve what I want... to
> Octavian> start the web server automaticly when the computer starts after
> Octavian> MySQL was started.
>
> Note that if you'd using Catalyst::Model::DBIC::Schema, you don't need to wait
> for MySQL to come up, as it does lazy connecting. If someone issues a request
> during the mysql startup time, they'll get a 500 error, which you can handle
> via an error document and is much better than a plain 404.
>
> --
> Eden Cardim Need help with your Catalyst or DBIx::Class project?
Yep, I am using it, but I also use Catalyst::Plugin::I18N::DBI which tries to connect at startup to get the translation strings, and the app can't start because it gives a fatal error.
Octavian
More information about the Catalyst
mailing list