From 384f1ee16c533a485efc581c04232de8c9b51653 Mon Sep 17 00:00:00 2001 From: Nithish c <144919352+Nithish93613@users.noreply.github.com> Date: Mon, 5 May 2025 21:39:02 +0530 Subject: [PATCH] appspec.yml --- appspec.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/appspec.yml b/appspec.yml index 7f0cdf94..18a22ded 100644 --- a/appspec.yml +++ b/appspec.yml @@ -3,16 +3,22 @@ os: linux files: - source: /index.html destination: /var/www/html/ + hooks: BeforeInstall: - - location: scripts/install_dependencies + - location: scripts/scripts/install_dependencies timeout: 300 runas: root - - location: scripts/start_server + - location: scripts/scripts/start_server timeout: 300 runas: root + ApplicationStop: - - location: scripts/stop_server + - location: scripts/scripts/stop_server timeout: 300 runas: root + AfterInstall: + - location: scripts/scripts/post_deploy.sh + timeout: 300 + runas: root