On Wed, Mar 21, 2012 at 11:48 AM, Ottavio <[email protected]> wrote:
> Hi, > > I developed a small application to send emails from a web app without > blocking even if the mail server is slow by using pyramid_celery. I like > its api, and I really would like to use it in bigger projects. > > BUT there's a problem: I always run > > > pceleryd ./development.ini > > from the commands line, but I would like not to do this. I run my application > with mod_wsgi, and running pceleryd from a shell is the opposite that I'd > like to do. > > Is there a way to avoid running pceleryd from the command line? Is there some > equivalent directive that I can use in apache virtualhost configuration? > > You need to think of celeryd as a service like postgresql or redis, it is not part of the web application itself and should be configured as a service and run separately outside of apache. Two good options for this: supervisord init scripts in linux -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
