I am running on CentOS 7, which has a default python of 2.7.5. I want
to run uWSGI with 2.5.13, which I have downloaded. From a shell I need
to run this to enable the other version:

scl enable python27 bash

I tried modifying /etc/systemd/system/uwsgi.service thusly:

ExecStart=/usr/bin/scl enable python27 bash; /usr/bin/uwsgi --emperor
/etc/uwsgi/sites

But it did not start:

   Loaded: loaded (/etc/systemd/system/uwsgi.service; enabled; vendor
preset: disabled)
   Active: failed (Result: start-limit) since Mon 2017-12-11 17:20:36
EST; 6s ago
  Process: 24492 ExecStart=/usr/bin/scl enable python27 bash;
/usr/bin/uwsgi --emperor /etc/uwsgi/sites (code=exited,
status=1/FAILURE)

Anyone know how I can specify the python to for uWSGI to use?
_______________________________________________
uWSGI mailing list
uWSGI@lists.unbit.it
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to