Suppose you use following command to run your python server
python manage.py runserverBut once you close the terminal, process is killed and python server is stopped automatically.
This can be a bigger problem if server is placed remotely and you want to keep it running always whether your system is turned on or turned off.
Here is a solution for you. Use nohup with your command.
nohup your-command &
In this case, Run this command
nohup python manage.py runserver &Now if you close the terminal, server still runs.