I have celery running locally by just running celery -A proj -l info
(although I don't even know if I should be using this command in production), and I want to get celery running on my production web server every time nginx starts. The init system is systemd
相关问题
- how to define constructor for Python's new Nam
- streaming md5sum of contents of a large remote tar
- How to get the background from multiple images by
- Evil ctypes hack in python
- Correctly parse PDF paragraphs with Python
Create a service file like this
celery.service
Move the file to
/etc/systemd/system/
and next time your restart server, celery will be started by systemd on boot.