On 11/06/2011 07:58 AM, Roberto De Ioris wrote:

Hi Robert,

Thanks once more.

> 
>> Hi,
>>
>> Now I wondered whether there is an easy way to configure uwsgi such,
>> that it will start these two programs automatically when it is started
>> and that it will kill them automatically when it will be stopped.
>>
>> Or should I better handle this in my init script??
>>
> 
> Use the --attach-daemon directive
> ex.
> 
> --attach-daemon mypythonscript.py
> 
> 

It's probably not that critical for my use case, but would there be any
way to make sure, that the daemon is started before any wsgi request is
handled?




_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to