pynovice pynovice - 5 months ago 94
Linux Question

How to stop server ran in Daemon mode in Django?

I ran the Django development server as:

nohup.out ./manage.py runserver


How can I stop the server?

Tried using:

nohup.out ./manage.py stop runserver
but it's not working.

Answer

check the process id of python related to Django

ps -ef | grep python

kill -9 Process_id_no.