> Hi all, > > I'm planning to write a script in Python to allow controlling the master > uWSGI process and would like to get some input before attempting to code > this. > > First, I'm struggling to safely start, stop and restart the master uWSGI > process when multiple workers/threads are used. > > Thus, a primary objective of the uwsgictl utility would be to simplify > theses operations. > > In addition, i would like to have the ability to get stats from the > uWSGI process, similar to the uwsgitop utility. > > So, I'm considering writing a proof-of-concept uwsgictl script with the > following commands: > > % uwsgictl [start|stop|restart] > > It would also be nice to have a interactive Python shell by simply typing > : > > % uwsgictl > > Entering interactive Python shell... > > >>> > > What do you think? > >
Would be really cool, maybe the master fifo could be a good start (extending it with new commands should be pretty easy): http://uwsgi-docs.readthedocs.io/en/latest/MasterFIFO.html -- Roberto De Ioris http://unbit.com _______________________________________________ uWSGI mailing list uWSGI@lists.unbit.it http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi