uWSGI works as process but not as daemon
问题 For my current flask deployment, I had to set up a uwsgi server. This is how I have created the uwsgi daemon: sudo vim /etc/init/uwsgi.conf # file: /etc/init/uwsgi.conf description "uWSGI server" start on runlevel [2345] stop on runlevel [!2345] respawn exec /myproject/myproject-env/bin/uwsgi --uid www-data --gid www-data --home /myproject/myproject-env/site/F11/Engineering/ --socket /tmp/uwsgi.sock --chmod-socket --module F11 --callable app --pythonpath /myproject/myproject-env/site/F11