标签: elastic-beanstalk supervisor
我需要使用supervisord来启动需要连接到DB的daphne服务器。但是凭据位于/opt/python/current/env。我尝试了source /opt/python/current/env和reload/restart supervisord。它还没有拿起环境,任何想法?
/opt/python/current/env
source /opt/python/current/env
reload/restart
答案 0 :(得分:1)
而不是在supervisord命令中直接使用'source',我将它放入bash文件中并激活虚拟环境,现在它可以正常工作