mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 07:35:34 -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
|
location: scripts/aws_install_dependencies.sh
|
||||||
runas: root
|
runas: root
|
||||||
timeout: 300
|
timeout: 300
|
||||||
|
-
|
||||||
|
location: scripts/aws_change_ownership.sh
|
||||||
|
runas: root
|
||||||
|
timeout: 300
|
||||||
ApplicationStart:
|
ApplicationStart:
|
||||||
-
|
-
|
||||||
location: scripts/aws_start_app.sh
|
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