[uWSGI] Shell command fails under uwsgi

2019-12-03 Thread Shareef Jalloq
Hi there, new user here and I've been trying to set up a Flask app using the tutorial here: https://www.digitalocean.com/community/tutorials/how-to-serve-flask-applications-with-uwsgi-and-nginx-on-centos-7 The Flask app just runs a Python script and I render a page with the output. The script ca

Re: [uWSGI] Shell command fails under uwsgi

2019-12-03 Thread Shareef Jalloq
So I managed to debug this a bit more and it looks like uWSGI itself is fine as I can run it directly, but either my nginx or service is causing the issue. My service looks like: [Unit] Description=uWSGI instance to serve flexlm After=network.target [Service] User=shareef Group=nginx WorkingDire