> The use of master fifo is understood.
>
> The question is: don’t you think it is reasonable to have a command line
> option to do graceful shutdown transparently (so it hides internal details
> of how to do that)?
>
> Thanks.

If you think it is reasonable for you i am happy to add it unless it break
something else or there are better ways to do it:

https://github.com/unbit/uwsgi/blob/master/core/uwsgi.c#L158

pidfile/signal based options are easy to add, but in your case you cannot
rely on signals (all are used by something else), so you need something
similar but using the master fifo, so you will end with

uwsgi --quit <path_to_fifo>

that internally wrote the char 'q' to <path_to_fifo>
-- 
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to