-
Notifications
You must be signed in to change notification settings - Fork 0
/
appspec.yml
62 lines (62 loc) · 1.22 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
version: 0.0
os: linux
files:
- source: /
destination: /var/www/html
permissions:
- object: /var/www/html
pattern: "html"
owner: www-data
group: www-data
mode: 775
type:
- directory
- object: /usr/share/nginx/html
pattern: "**"
except: [
cache,
tmp
]
owner: www-data
group: www-data
mode: 775
type:
- directory
- object: /usr/share/nginx/html
pattern: "cache"
owner: www-data
group: www-data
mode: 777
type:
- directory
- object: /usr/share/nginx/html
pattern: "tmp"
owner: www-data
group: www-data
mode: 777
type:
- directory
- object: /usr/share/nginx/html
pattern: "**"
owner: www-data
group: www-data
mode: 664
type:
- file
hooks:
ApplicationStop:
- location: codedeploy-scripts/applicationstop.sh
timeout: 300
runas: root
BeforeInstall:
- location: codedeploy-scripts/beforeinstall.sh
timeout: 300
runas: root
AfterInstall:
- location: codedeploy-scripts/afterinstall.sh
timeout: 300
runas: root
ApplicationStart:
- location: codedeploy-scripts/applicationstart.sh
timeout: 3600
runas: root