My mistake:]

uwsgi --ini config.ini --touch-reload=start.py --touch-reload=test

Solves my problem.

However, it seems that when added to the ini:
touch-reload = start.py
does not work.

How to add touch-reload the configuration file?

Of course I would like to add a few files.





----- Oryginalna wiadomość -----
> Od: "Łukasz Wróblewski" <[email protected]>
> Do: "uWSGI developers and users list" <[email protected]>
> Wysłane: poniedziałek, 24 październik 2011 7:52:37
> Temat: Re: [uWSGI] uwsgi.reload from config file
> 
> ----- Oryginalna wiadomość -----
> > Od: "Roberto De Ioris" <[email protected]>
> > Do: "uWSGI developers and users list" <[email protected]>
> > Wysłane: poniedziałek, 24 październik 2011 7:32:19
> > Temat: Re: [uWSGI] uwsgi.reload from config file
> >
> > What about using --touch-reload ? It is independent by your app
> > code/status (it is managed by the master) and in the 1.0 branch you
> > can
> > specify an unlimited list of file to monitor.
> >
> 
> In fact, touch-reload does not give me anything ... except that
> instead of searching I have to modify a PID file.
> 
> But first I must determine whether uWSGI is running (application
> should live), then whether mountpoint is set (is really alive), and
> all that I need to check periodically on CRON.
> 
> 
> 
> --
> Łukasz Wróblewski
> http://www.nri.pl/ - Nowoczesne Rozwiązania Internetowe
> http://www.hostowisko.pl/ - Profesjonalny i tani hosting
> http://www.katalog-polskich-firm.pl/ - Najlepszy darmowy katalog firm
> 

-- 
Łukasz Wróblewski
http://www.nri.pl/ - Nowoczesne Rozwiązania Internetowe
http://www.hostowisko.pl/ - Profesjonalny i tani hosting
http://www.katalog-polskich-firm.pl/ - Najlepszy darmowy katalog firm
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to