-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathappspec.yml
More file actions
33 lines (33 loc) · 785 Bytes
/
appspec.yml
File metadata and controls
33 lines (33 loc) · 785 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
version: 0.0
os: linux
files:
- source: sample-app-1.0.jar
destination: /var/sample-app/sample-app.jar
permissions:
- object: /var/sample-app
owner: sample-app-user
group: sample-app-user
hooks:
ApplicationStop:
- location: scripts/stop-service.sh
timeout: 60
runas: root
- location: scripts/backup-previous-deployments.sh
timeout: 60
runas: root
BeforeInstall:
- location: scripts/install-dependencies.sh
timeout: 180
runas: root
AfeterInstall:
- location: scripts/install-service.sh
timeout: 60
runas: root
ApplicationStart:
- location: scripts/start-service.sh
timeout: 180
runas: root
ValidateService:
- location: scripts/validate.sh
timeout: 180
runas: root