2015-12-15 16:26:56 +00:00
|
|
|
---
|
2016-09-20 11:49:01 +01:00
|
|
|
os: linux
|
|
|
|
|
version: 0.0
|
2015-12-15 16:26:56 +00:00
|
|
|
files:
|
2016-09-20 11:49:01 +01:00
|
|
|
- destination: /home/notify-app/notifications-api
|
2015-12-15 16:26:56 +00:00
|
|
|
source: /
|
|
|
|
|
hooks:
|
2017-02-13 17:13:39 +00:00
|
|
|
BeforeInstall:
|
|
|
|
|
- location: scripts/aws_clear_instance.sh
|
|
|
|
|
runas: root
|
|
|
|
|
timeout: 1000
|
2015-12-15 16:26:56 +00:00
|
|
|
AfterInstall:
|
2016-09-20 11:49:01 +01:00
|
|
|
- location: scripts/aws_install_dependencies.sh
|
2015-12-15 16:26:56 +00:00
|
|
|
runas: root
|
2016-07-29 10:49:48 +01:00
|
|
|
timeout: 1000
|
2016-09-20 11:49:01 +01:00
|
|
|
- location: scripts/aws_change_ownership.sh
|
2016-01-07 15:28:21 +00:00
|
|
|
runas: root
|
|
|
|
|
timeout: 300
|
2015-12-15 16:26:56 +00:00
|
|
|
ApplicationStart:
|
2016-09-20 11:49:01 +01:00
|
|
|
- location: scripts/aws_start_app.sh
|
2015-12-15 16:26:56 +00:00
|
|
|
runas: root
|
|
|
|
|
timeout: 300
|
2016-09-20 11:49:01 +01:00
|
|
|
- location: scripts/register_with_elb.sh
|
2016-05-19 11:38:22 +01:00
|
|
|
runas: ubuntu
|
|
|
|
|
timeout: 300
|
2015-12-15 16:47:13 +00:00
|
|
|
ApplicationStop:
|
2016-09-20 11:49:01 +01:00
|
|
|
- location: scripts/deregister_from_elb.sh
|
2016-05-19 11:38:22 +01:00
|
|
|
runas: ubuntu
|
|
|
|
|
timeout: 300
|
2016-09-20 11:49:01 +01:00
|
|
|
- location: scripts/aws_stop_app.sh
|
2015-12-15 16:47:13 +00:00
|
|
|
runas: root
|
|
|
|
|
timeout: 300
|