<div>Well, at least that does not work for nova then... uwsgi output and conf [1], journalctl logs [2]</div><div> </div><div> </div><div>[1] http://paste.openstack.org/show/800158/</div><div>[2] http://paste.openstack.org/show/800159/</div><div> </div><div> </div><div>18.11.2020, 16:33, "Thomas Goirand" <zigo@debian.org>:</div><blockquote><p>On 11/18/20 9:55 AM, Dmitriy Rabotyagov wrote:</p><blockquote> Can you kindly share the way of doing that? As passing --config-file<br /> with pyargv for uwsgi seems not the right way to do that.<br />  <br /> 15.11.2020, 15:30, "Thomas Goirand" <<a href="mailto:zigo@debian.org" rel="noopener noreferrer">zigo@debian.org</a>>:<br /> <br />     I'll manage to get --config-file as parameters when starting daemons<br />     (it's possible to do so, even when using uwsgi).<br /> <br />  <br />  <br /> -- <br /> Kind Regards,<br /> Dmitriy Rabotyagov<br />  </blockquote><p><br />As much as I know, the --pyargv *does* the right thing.<br /><br />Currently, in Debian, we have neutron-api started like this:<br /><br />/usr/bin/uwsgi_python37 \<br />        --https-socket<br />:9696,/etc/neutron/ssl/public/HOSTNAME.crt,/etc/neutron/ssl/private/HOSTNAME.pem<br />\<br />        --ini /etc/neutron/neutron-api-uwsgi.ini \<br />        --pyargv "--config-dir=/etc/neutron/server.conf.d \<br />        --config-file=/etc/neutron/neutron.conf \<br />        --config-file=/etc/neutron/plugins/ml2/ml2_conf.ini"<br /><br />Though it's a little bit tricky. Notice the quotes so that there's only<br />a single argument after --pyargv...<br /><br />All of this has been set in openstack-pkg-tools for a few years already,<br />though it's only in use in Debian, because Ubuntu people don't use uwsgi<br />(which isn't part of Ubuntu main, it's only in Universe).<br /><br />Cheers,<br /><br />Thomas Goirand (zigo)</p></blockquote><div> </div><div> </div><div>-- <br />Kind Regards,</div><div>Dmitriy Rabotyagov</div><div> </div>