Forked from bahiamartins/call_celery_post_deploy_aws.config
Created
August 27, 2019 15:05
-
-
Save rg3915/db2f5509907e39e954570fec6d68d8e9 to your computer and use it in GitHub Desktop.
call celery in AWS Elastic Beanstalk via post deploy. Process of Daemonization using Supervisord
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
| { | |
| "container_commands": { | |
| "celery_configure": { | |
| "command": "mv /tmp/100_celery_worker.sh /opt/elasticbeanstalk/hooks/appdeploy/post && chmod 774 /opt/elasticbeanstalk/hooks/appdeploy/post/100_celery_worker.sh", | |
| "leader_only": true | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment