Jeryn, try installing my github project, which will do what you're looking
for. I originally used -c but didn't want the extra cruft, so I did
everything at the command line:

https://github.com/mazzaroth/initpyr/blob/master/supervisord.conf#L22

Michael



On Sat, Feb 1, 2014 at 10:16 AM, Jeryn Mathew <[email protected]> wrote:

> Hello all,
>
> I have a unique requirement. I'd like to tap into the gunicorn's server
> hooks (http://docs.gunicorn.org/en/latest/settings.html#server-hooks),
> while using the INI config file of for paster to pass to Pyramid
> application.
> I need to when the webserver is up, so as to trigger some events on other
> components.
>
> I tried to use these cmds:
>
>    - gunicorn_paster -c <config.py for gunicorn> <INI file for pyramid>
>    - gunicorn -c <config.py> --paster <INI file>
>
> but according to gunicorn logs, its almost as if it completely ignored the
> -c option.
>
> Any thoughts on what I could be doing wrong?
>
> Many thanks in advance,
> Jeryn Mathew
>
> --
> You received this message because you are subscribed to the Google Groups
> "pylons-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/pylons-discuss.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to