On 11 December 2017 at 23:56, Larry Martell <larry.mart...@gmail.com> wrote: > 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
» /usr/bin/scl enable python27 bash « works only in bash, not in an ExecStart= liine in systemd. you should not try to use shell stuff in systemd, it wont work but also more imporantly, uwsgi (or the python plugin) links to libpython directly and doesn't use the /usr/bin/pythonX.Y executable for anything. -- damjan _______________________________________________ uWSGI mailing list uWSGI@lists.unbit.it http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi