On Friday 02 June 2017 12:53:06 F. Nikita Thomas wrote:
> Thank you everyone and my apologies for the late reply, a friend
> passed. I did as requested and here are the results:
>
>
> [user@echo project]$ which python
> /usr/bin/python
> [user@echo project]$ python -V
> Python 2.7.5
So at this point start uwsgi.
Not after activation of the virtualenv. Let uwsgi activate it by itself.
Personally, I don't have these issues as uwsgi is started by root as a service,
with a
somewhat clean environment. I can start it as:
sudo env -i PATH=/bin:/usr/bin:/usr/local/bin \
/usr/local/etc/rc.d/uwsgi start
and it still works (and no leakage of shell env of user to wsgi requests). I'm
on FreeBSD, so
hence no init.d but rc.d. Principle is the same though.
--
Melvyn Sopacua
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/55522997.a96XGSvLlg%40devstation.
For more options, visit https://groups.google.com/d/optout.