/
appspec.yml
34 lines (34 loc) · 878 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
version: 0.0
os: linux
files:
- source: scripts/upstart/aws-mandelbrot.service
destination: /etc/systemd/system/
- source: scripts/upstart/mandelbrot
destination: /etc/nginx/sites-available/
- source: /
destination: /home/ubuntu/gocode/src/github.com/lucchmielowski/aws-mandelbrot
permissions:
- object: /
pattern: "**"
owner: ubuntu
group: ubuntu
hooks:
# ApplicationStop:
# - location: scripts/application_stop.sh
# timeout: 300
# runas: root
BeforeInstall:
- location: scripts/before_install.sh
timeout: 600
runas: root
AfterInstall:
- location: scripts/after_install.sh
timeout: 300
runas: ubuntu
ApplicationStart:
- location: scripts/application_start.sh
timeout: 300
# ValidateService:
# - location: scripts/validate_service.sh
# timeout: 10
# runas: root