elasticbeanstalk supervisord无法获得环境

时间:2017-08-11 17:38:16

标签: elastic-beanstalk supervisor

我需要使用supervisord来启动需要连接到DB的daphne服务器。但是凭据位于/opt/python/current/env。我尝试了source /opt/python/current/envreload/restart supervisord。它还没有拿起环境,任何想法?

1 个答案:

答案 0 :(得分:1)

而不是在supervisord命令中直接使用'source',我将它放入bash文件中并激活虚拟环境,现在它可以正常工作