diff --git a/appspec.yml b/appspec.yml index 68f2cd7..2e74e8d 100644 --- a/appspec.yml +++ b/appspec.yml @@ -3,6 +3,7 @@ os: linux files: - source: / destination: /home/ubuntu/rp-api +file_exists_behavior: OVERWRITE hooks: BeforeInstall: - location: scripts/install_dependencies.sh @@ -13,6 +14,9 @@ hooks: timeout: 300 runas: root ApplicationStart: + - location: scripts/install_dependencies.sh + timeout: 300 + runas: root - location: scripts/reload_server.sh timeout: 300 runas: root \ No newline at end of file