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.
- [Answered ]-Authentication User Django Depending on the User
- [Answered ]-Can multiple Django sites share memory?
- [Answered ]-A way to save the generated HTML from Django Views?
Source:stackexchange.com