问题 I'm trying to migrate my Rails app from Heroku to AWS. I got my AWS CodePipeline working up until the last bit, writing the appspec.yml for CodeDeploy. This requires me to write Ubuntu commands to stop my application, possibly do some migration stuff, and then start the application again. This is not my strong suit so I am struggling a bit with this part. I thought I'd start with executing "rails server" as "AfterInstall" action. But then I openend up a whole box of new problems, i.e. there