So..for the filename, I can use my wsgi file and when its updated from
git fetch and  the time stamp changes then --boom....dome?  Reloaded?
If true...way cool.

On Sat, Oct 27, 2012 at 8:18 PM, Roberto De Ioris <[email protected]> wrote:
>
> Il giorno 27/ott/2012, alle ore 02:43, David Montgomery 
> <[email protected]> ha scritto:
>
>> 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?
>
> no, it is not needed as the mtime (modification time) of the file is checked.
>
>>
>> 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
>
> yes, add --touch-reload <filename>
>
>>
>
> --
> Roberto De Ioris
> http://unbit.it
> JID: [email protected]
>
> _______________________________________________
> uWSGI mailing list
> [email protected]
> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to