simple scripts to daemonize celery apps. currently it is only available for python apps.
sh start.sh <options>
Note: start.sh
needs the root access. So you if you are not using the root user, you will probably need to use
sudo
.
option | description | required/optional |
---|---|---|
-a | celery app (for example my_main_app ) |
required |
-c | your app ch-dir , for example /srv/my-proj/ |
required |
-d | absolute or relative path to the celery command. for example /home/saleh/.local/bin/celery . maybe which celery can help you |
required |
-n | your app name, for example my_app |
required |