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