> Hi,
>
> I try to setup a new server with uwsgi.
>
> Everything works fine, but at the moment my startup procedure is not
> that satisfactory.
>
> Before I start uwsgi I want to start two python scripts which will be
> active for the whole life time of uwsgi
>
> - one is kind of a logging service
> - and the other one is responsable for handling a task
>    queue of slow tasks.
>
> 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


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

Reply via email to