-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappspec.yml
39 lines (39 loc) · 869 Bytes
/
appspec.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
version: 0.0
os: linux
files:
- source: /
destination: /home/ec2-user/app
permissions:
- object: /home/ec2-user/app
mode: 644
acls:
- "d:u::rwx"
- "d:g::rwx"
- "d:o::rwx"
owner: ec2-user
type:
- directory
file_exists_behavior: OVERWRITE
hooks:
ApplicationStop:
- location: aws-scripts/stop-server.sh
timeout: 300
runas: ec2-user
BeforeInstall:
- location: aws-scripts/clean-up.sh
timeout: 300
runas: ec2-user
AfterInstall:
- location: aws-scripts/set-permissions.sh
timeout: 300
runas: root
- location: aws-scripts/install-dependencies.sh
timeout: 300
runas: ec2-user
- location: aws-scripts/build.sh
timeout: 300
runas: ec2-user
ApplicationStart:
- location: aws-scripts/start-server.sh
timeout: 300
runas: ec2-user