> Yeah, sure. > > /etc/uwsgi.xml: > > <uwsgi> > <vhost></vhost> > <master></master> > <socket>127.0.0.1:8013</socket> > <enable-threads/> > <spooler>/home/projects/sites/spooler</spooler> > <close-on-exec/> > </uwsgi> > > > part of nginx: > uwsgi_pass 127.0.0.1:8013; > include uwsgi_params; > uwsgi_param UWSGI_CHDIR /home/projects/sites/tour; > uwsgi_param UWSGI_SCRIPT runsite; > uwsgi_param UWSGI_PYHOME /home/projects/sites/tour; > > >
Oh, you cannot create spooler tasks dinamically. You have to load it on startup. Use the --module directive (you can obviously continue to use dynamic mode, but spooler callable must be created on startup) -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
