Created
May 15, 2019 00:23
-
-
Save bahiamartins/fdafa02f056477e852f5ecaaa30a8fa7 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