如何使用.ebextensions在aws ebs中停止/终止和启动进程?

时间:2017-02-21 13:58:50

标签: django shell amazon-web-services elastic-beanstalk

我尝试使用以下.ebextensions:命令:

    01-kill:

        command:        "kill $(pgrep -flvx auto_pilot.py | grep auto_pilot.py)"

        ignoreErrors:        true

    02-wget:

        command:        "python /opt/python/current/app/phoenix_app/auto_pilot.py &"

0 个答案:

没有答案