pynovice pynovice - 1 year ago 252
Linux Question

How to stop server ran in Daemon mode in Django?

I ran the Django development server as:

nohup.out ./ runserver

How can I stop the server?

Tried using:

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

Answer Source

check the process id of python related to Django

ps -ef | grep python

kill -9 Process_id_no.