我尝试使用以下.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 &"