> Now for more fun. I tried using inherit mode to setup some defaults for > my apps. > > So instead of starting like this: > > > /usr/local/bin/uwsgi --emperor /etc/uwsgi/vassals -d > /var/log/uwsgi_emp.log > > > I tried this (with my daemonize line above in the defaults.ini as > daemonize = /var/log/uwsgi/%n.log) -- but it threw an error on starting. > > > # /usr/local/bin/uwsgi --inherit /etc/uwsgi/defaults.ini > > > So I landed here instead: > /usr/local/bin/uwsgi --inherit /etc/uwsgi/defaults.ini > --daemonize=/var/log/uwsgi/uwsgi.log --pidfile=/var/run/uwsgi/uwsgi.pid > > > Sample defaults file is below. The problem, which I verified in the log > captured in the app log *above*, is none of these settings > > made it into the master for the app. harakiri didnt get turned on, idle > not set, etc. Am I missing something ? >
inherit should be used in vassals config as it is meant to extend the current config. I think you are referring to --vassals-inherit <file> that will automatically apply <file> to each of the vassals automatically. You can specify an unlimited number of vassals-inherit options. When conditional options will be implmented this will allows unlimited way of config. -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
