Created
August 7, 2019 07:09
-
-
Save bhuiyanmobasshir94/386a5c6f0d67d6a4ebe2f75e01dcb7f7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[program:celery] | |
directory = <django_project_directory> example:[/home/ubuntu/prod/api] | |
command = <virual_environment_directory/bin/celery> <command_to_be_executed> example: [/home/ubuntu/anaconda3/envs/api_env/bin/celery] [-A prodapi worker -l info --without-gossip --without-mingle --without-heartbeat -Ofair --pool=solo] | |
stdout_logfile=/var/log/supervisor/celery.log | |
stderr_logfile=/var/log/supervisor/celery.log | |
user=<username> example: [ubuntu] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment