1 個回答
- 最新
- 最多得票
- 最多評論
0
Hello,
To be able to make a long process run is by configuring something like this
-->java -jar /home/ubuntu/app/target/app.jar > /dev/null 2> /dev/null < /dev/null &[1]
The reason for this being CodeDeploy doesn't like if process run in background and this will send it to null giving some code and CodeDeploy will pass the script
Reference:
已回答 2 年前
相關內容
- 已提問 6 個月前
- AWS 官方已更新 2 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 2 年前