forked from CodeWithAloha/ACLU
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appspec.yml
32 lines (31 loc) · 842 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
# For help completing this file, see the "AppSpec File Reference" in the
# "AWS CodeDeploy User Guide" at
# http://docs.aws.amazon.com/codedeploy/latest/userguide/app-spec-ref.html
version: 0.0
os: linux
files:
- source: /
destination: /var/project-aclu/
permissions:
- object: /var/project-aclu/scripts
owner: root
mode: 777
type:
- directory
hooks:
# BeforeInstall:
# - location: scripts/aws-code-deploy/before_install.sh
# timeout: 300
# runas: root
AfterInstall:
- location: scripts/aws-code-deploy/after_install.sh
timeout: 300
runas: root
ApplicationStart:
- location: scripts/aws-code-deploy/app_start.sh
timeout: 300
runas: root
ApplicationStop:
- location: scripts/aws-code-deploy/app_stop.sh
timeout: 300
runas: root