-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathappspec.yml
More file actions
39 lines (39 loc) · 784 Bytes
/
appspec.yml
File metadata and controls
39 lines (39 loc) · 784 Bytes
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: /srv/sislam_bootstrap
permissions:
- object: /srv/sislam_bootstrap
pattern: "**"
owner: ec2-user
group: ec2-user
mode: 755
type:
- directory
- object: /srv/sislam_bootstrap/Gemfile.lock
owner: ec2-user
group: ec2-user
mode: 755
type:
- file
- object: /srv/sislam_bootstrap/scripts/
pattern: "**"
owner: ec2-user
group: ec2-user
mode: 755
type:
- file
hooks:
AfterInstall:
- location: scripts/install_app.sh
timeout: 300
runas: ec2-user
ApplicationStart:
- location: scripts/restart_app.sh
timeout: 300
runas: ec2-user
Verify:
- location: scripts/deploy_verify
timeout: 300
runas: ec2-user