1 Answer
- Newest
- Most votes
- Most comments
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:
answered 2 years ago
Relevant content
- asked 2 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated a year ago
- How can I use a Lambda function to automatically start an AWS Glue job when a crawler run completes?AWS OFFICIALUpdated 2 years ago