1👍
✅
According to your log you have (111: Connection refused)
error, and it means that uwsgi process is killed after you close ssh connection.
You can try this instruction to use nohup
.
uWSGI has an option to daemonize. This is a better way, uWSGI will handle detaching from console.
But I suggest you use something like supervisord to run uWSGI. Or you can use your system’s init.d
scripts or Upstart
👤Igor
Source:stackexchange.com