On Tue, Jan 15, 2013 at 12:14 PM, Jean-Baptiste Quenot <[email protected]> wrote: > 2013/1/15 Roberto De Ioris <[email protected]>: > >> What about using py-auto-reload option ? > > Hi Roberto, > > I didn't know about this option. I just tried it and it works great > for *.py indeed. But what about my Cheetah Templates that I compile > at runtime? They are not reloaded, that's problematic. Providing a > pattern (in my case **/*.tmpl) as Andriy suggest would be "sugar on > top".
FTR, the script i posted does just this, albeit by dynamically generating a config > As a convention, this external command could exit with status code 0, > to tell uwsgi that a reload is requested. > > What is the ideal solution for this usecase, in your opinion? you could already do this with --daemon <some-program>, where the program would simply send a HUP hit to it's P[arent]PID. -- C Anthony _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
