-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappspec.yml
60 lines (59 loc) · 1.36 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
version: 0.0
os: linux
files:
- source: nginx_files/nginx.conf
destination: /tmp/
overwrite: yes
- source: php_files/php.ini
destination: /tmp/
overwrite: yes
- source: nginx_server/
destination: /tmp/nginx_server/
- source: php_files/www.conf
destination: /tmp/
overwrite: yes
- source: cwagent_files/cw_config.json
destination: /tmp/
overwrite: yes
- source: cognito/supervisord.conf
destination: /tmp/
overwrite: yes
- source: cognito/python_app/
destination: /tmp/python_app/
overwrite: yes
- source: cwagent_files/collectd.conf
destination: /tmp/
overwrite: yes
hooks:
BeforeInstall:
- location: scripts/install_dependencies.sh
timeout: 300
runas: root
AfterInstall:
- location: scripts/conf_app.sh
timeout: 300
runas: root
- location: scripts/conf_nginx.sh
timeout: 300
runas: root
- location: scripts/config_packages.sh
timeout: 900
runas: root
- location: scripts/config_cwagent.sh
timeout: 900
runas: root
- location: scripts/config_supervisor.sh
timeout: 900
runas: root
- location: scripts/config_cognito.sh
timeout: 900
runas: root
- location: scripts/restart_services.sh
timeout: 300
runas: root
- location: scripts/config_zsh.sh
timeout: 300
runas: root
- location: scripts/config_zsh_usr.sh
timeout: 300
runas: ec2-user