From 6eb5482f278ac0a6866781f88b384bcb454c0db8 Mon Sep 17 00:00:00 2001 From: Chigozirim Igweamaka Date: Sat, 18 May 2024 07:33:03 +0100 Subject: [PATCH] Update appspec.yml --- appspec.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/appspec.yml b/appspec.yml index bc0edf4..0b5554e 100644 --- a/appspec.yml +++ b/appspec.yml @@ -5,8 +5,14 @@ files: destination: /home/ubuntu/song-recognition hooks: BeforeInstall: - - location: scripts/BeforeInstall.sh - AfterInstall: - - location: scripts/AfterInstall.sh - - location: scripts/ApplicationStart.sh + - location: scripts/before_install.sh + runas: ubuntu + AfterInstall: + - location: scripts/after_install.sh + runas: ubuntu + ApplicationStart: + - location: scripts/start_server.sh + runas: ubuntu + ApplicationStop: + - location: scripts/stop_server.sh runas: ubuntu