Dnia środa, 2 maja 2012 11:41:04 Łukasz Mierzwa pisze:
> Since there is now uWSGI option to run any command at worker exit, I had to
> write very simple patch that adds this. There is no way to run that command
> as root since this is done after privileges drop so the command is being
> run as user (unless someone runs workers as root user).
> 
> Does this patch qualifies for merging into uWSGI?

It turns out that I need to make another patch, with this one exec-as-user-
atexit would be executed at each worker shutdown, and I need to execute it 
only at master exit.

Łukasz Mierzwa

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

Reply via email to