[Answered ]-Kick off daemonized service using djangos manage.py custom command?

2👍

I have the beginnings of a library, django-initd, to handle this: see the project on GitHub.

Django actually includes a utility for a process to daemonize itself, in django.utils.daemonize, my library takes care of the startup/shutdown, logging, and interaction with the management command. I’d be interested to know if it’s helpful for you.

0👍

Why do you want to start service as a separte process?

Run in a Thread, in the same process as runserver.

Leave a comment