From e8e96af699e7cfbb8f8f08b65a577b259fcc2779 Mon Sep 17 00:00:00 2001 From: lwj9812 <141805156+lwj9812@users.noreply.github.com> Date: Fri, 15 Mar 2024 14:51:04 +0900 Subject: [PATCH] Create appspec.yaml --- appspec.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 appspec.yaml diff --git a/appspec.yaml b/appspec.yaml new file mode 100644 index 000000000..e7eb9bb5a --- /dev/null +++ b/appspec.yaml @@ -0,0 +1,21 @@ +version: 0.0 +os: linux +files: + - source: / + destination: /home/ubuntu + overwrite: yes +file_exists_behavior: OVERWRITE +permissions: + - object: /home/ubuntu + pattern: "**" + owner: ubuntu + group: ubuntu +hooks: + ApplicationStop: + - location: deploy/scripts/kill_process.sh + timeout: 100 + runas: ubuntu + ApplicationStart: + - location: deploy/scripts/run_process.sh + timeout: 3600 + runas: ubuntu