mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-29 05:51:51 -05:00
Make repo be owned by ubuntu not root post code deploy deployment.
This commit is contained in:
@@ -9,6 +9,10 @@ hooks:
|
||||
location: scripts/aws_install_dependencies.sh
|
||||
runas: root
|
||||
timeout: 300
|
||||
-
|
||||
location: scripts/aws_change_ownership.sh
|
||||
runas: root
|
||||
timeout: 300
|
||||
ApplicationStart:
|
||||
-
|
||||
location: scripts/aws_start_app.sh
|
||||
|
||||
5
scripts/aws_change_ownership.sh
Executable file
5
scripts/aws_change_ownership.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "Chown application to be owned by ubuntu"
|
||||
cd /home/ubuntu/;
|
||||
chown -R ubuntu:ubuntu notifications-api
|
||||
Reference in New Issue
Block a user