-
Notifications
You must be signed in to change notification settings - Fork 0
/
appspec.yml
executable file
·38 lines (38 loc) · 946 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
version: 0.0
os: linux
files:
- source: /
# update to your web root
destination: /var/www/html/mydomain.com
# optional: add configuration file
# - source: config/mydomain.com.conf
# destination: /etc/nginx/conf.d
# optional: set permissions
# permissions:
# - object: /var/www/html/mydomain.com/public/app/lib/pk-ABKLDKJDFSDFDF.pem
# owner: apache
# group: apache
# mode: 600
# type:
# - file
hooks:
ApplicationStop:
- location: scripts/application-stop.sh
timeout: 300
runas: root
BeforeInstall:
- location: scripts/before-install.sh
timeout: 300
runas: root
AfterInstall:
- location: scripts/after-install.sh
timeout: 300
runas: root
ApplicationStart:
- location: scripts/application-start.sh
timeout: 300
runas: root
ValidateService:
- location: scripts/validate-service.sh
timeout: 300
runas: root