Hi,

I am using supervisor to manage uwsgi.  I want to try a touch reload.

So...
1) I place the file:  touch /tmp/reload.txt

2) What happens of reloaded?  does uWSGI delete the file?

3) Here is my command line:

command = /usr/local/bin/uwsgi --loop gevent --socket 127.0.0.1:8060
--processes 2  --pp /home/ubuntu/workspace/--wsgi-file
/home/ubuntu/workspace/Server.py -b 32768 --master --async 20
--enable-threads --listen 2048 --memory-report --logto2
/tmp/uwsgi_log.log --carbon 103.4.112.27:2003

Do I have to add this to hte command line as follows?  --touch-reload

command = /usr/local/bin/uwsgi --loop gevent --socket 127.0.0.1:8060
--processes 2  --pp /home/ubuntu/workspace/--wsgi-file
/home/ubuntu/workspace/Server.py -b 32768 --master --async 20
--enable-threads --listen 2048 --memory-report --logto2
/tmp/uwsgi_log.log --carbon 103.4.112.27:2003  --touch-reload

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

Reply via email to