How to disable uwsgi if the application does not load?

I start my uwsgi in the easiest way, as a process controlled by an upstart is not emperor mode or anything else. This is what I get if, for some reason, the application does not start at startup:

[traceback skipped] unable to load app 0 (mountpoint='') (callable not found or import error) *** no app loaded. going in full dynamic mode *** *** uWSGI is running in multiple interpreter mode *** spawned uWSGI master process (pid: 17923) spawned uWSGI worker 1 (pid: 17948, cores: 1) ... 

I do not need this mode, and I would like it to turn off completely, so my upstart shows how it is stopped.

How can i do this?

+6
source share
1 answer

Option

- need-application

will do the trick

+9
source

All Articles