Discussion:
[uWSGI] equivalent of "nginx -t" for uwsgi
Gelonida
2018-08-14 12:10:34 UTC
Permalink
Hi,


I'd like to know whether there are any means of validating a uwsgi
config file prior to restarting my uwsgi server?


with nginx I'd use nginx -t

I did not find an equivalent for uwsgi.


Thanks in advance for any pointers
Roberto De Ioris
2018-08-15 08:23:03 UTC
Permalink
Post by Gelonida
Hi,
I'd like to know whether there are any means of validating a uwsgi
config file prior to restarting my uwsgi server?
with nginx I'd use nginx -t
I did not find an equivalent for uwsgi.
Hi, strict mode will validate for typos:

uwsgi --ini foo.ini --strict --hook-asap exit:0

if something fails you will get 1, otherwise 0
--
Roberto De Ioris
http://unbit.com
Loading...