diff --git a/appspec.yml b/appspec.yml index 19a4b9e67..c6a713089 100644 --- a/appspec.yml +++ b/appspec.yml @@ -1,7 +1,7 @@ --- files: - - destination: /home/notify-app/notifications-admin + destination: /home/ubuntu/notifications-admin source: / hooks: AfterInstall: diff --git a/scripts/aws_change_ownership.sh b/scripts/aws_change_ownership.sh index ef03e42c7..a0622593f 100755 --- a/scripts/aws_change_ownership.sh +++ b/scripts/aws_change_ownership.sh @@ -1,5 +1,5 @@ #!/bin/bash -echo "Chown application to be owned by notify" -cd /home/notify-app/; -chown -R notify-app:govuk-notify-applications notifications-admin +echo "Chown application to be owned by ubuntu" +cd /home/ubuntu/; +chown -R ubuntu:ubuntu notifications-admin \ No newline at end of file diff --git a/scripts/aws_install_dependencies.sh b/scripts/aws_install_dependencies.sh index 8bbf2cd46..474fee8a1 100755 --- a/scripts/aws_install_dependencies.sh +++ b/scripts/aws_install_dependencies.sh @@ -1,5 +1,5 @@ #!/bin/bash echo "Install dependencies" -cd /home/notify-app/notifications-admin; -pip3 install -r /home/notify-app/notifications-admin/requirements.txt +cd /home/ubuntu/notifications-admin; +pip3 install -r /home/ubuntu/notifications-admin/requirements.txt \ No newline at end of file diff --git a/wsgi.py b/wsgi.py index 7553c2cfe..dd2db3d10 100644 --- a/wsgi.py +++ b/wsgi.py @@ -1,7 +1,7 @@ from credstash import getAllSecrets import os -default_env_file = '/home/notify-app/environment' +default_env_file = '/home/ubuntu/environment' environment = 'live' if os.path.isfile(default_env_file):