1👍
✅
Not sure if i understand your issue correctly…
When running django/gunicorn usually it is helpful to use some tools to control the processes. One really good option to do so is the use of supervisord:
http://docs.gunicorn.org/en/latest/deploy.html#supervisor
If you just want to run processes directly and being able to (dis-)connect – generally screen is a good option.
It allows you to to disconnect an ssh-session while leaving your ‘virtual?’ terminals running.
Just re-ssh to your server and reconnect using:
screen -xr
Source:stackexchange.com