Added aws run script to use full path to application for codedeploy

This commit is contained in:
Martyn Inglis
2015-12-02 09:59:30 +00:00
parent b3087d5628
commit 1b116ecf85
2 changed files with 4 additions and 1 deletions

View File

@@ -9,6 +9,6 @@ hooks:
timeout: 300 timeout: 300
runas: root runas: root
ApplicationStart: ApplicationStart:
- location: scripts/run_app.sh - location: scripts/aws_run_app.sh
timeout: 300 timeout: 300
runas: root runas: root

3
scripts/aws_run_app.sh Normal file
View File

@@ -0,0 +1,3 @@
#!/bin/bash
python /home/ubuntu/notifications-admin/app.py runserver