unbit/uwsgi

Uwsgi with need-app and lazy-apps return 0 when no app are found.

Closed this issue · 6 comments

I have an application that need to run with lazy-apps because different libraries that we use cannot work without it. I added the need-app option in order to Fail-Fast then restart when my app cannot start.

When I don't use lazy-apps uwsgi fail with return code 22. With lazy-apps enabled it fail and return error code 0.

I don't feel that it is normal to fail with a return code of 0 and would like to know if it's normal or not.

unbit commented

It is absolutely wrong, can you try this patch:

65a8d67

thanks

Yes looks good !
When can we hoping a release with this fix ?

unbit commented

@xrmx i am about to backport it, is it ok for you ?

xrmx commented

@unbit sure, fine for me

@unbit it is ok for me too

xrmx commented

Fix backported to uwsgi-2.0, closing.