AWS codedeploy start / stop scripts (upstart) and wsgi start script

This commit is contained in:
Martyn Inglis
2015-12-03 09:38:02 +00:00
parent b1cad3f8f8
commit 0977877dcd
3 changed files with 17 additions and 0 deletions

5
scripts/aws_start_app.sh Executable file
View File

@@ -0,0 +1,5 @@
#!/bin/bash
echo "Starting application"
cd ~/notifications-admin/;
sudo service notifications-admin start

5
scripts/aws_stop_app.sh Executable file
View File

@@ -0,0 +1,5 @@
#!/bin/bash
echo "Stopping application"
cd ~/notifications-admin/;
sudo service notifications-admin stop