mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-06 15:58:26 -04:00
Run start/stop as ubuntu
This commit is contained in:
@@ -16,12 +16,12 @@ hooks:
|
|||||||
ApplicationStart:
|
ApplicationStart:
|
||||||
-
|
-
|
||||||
location: scripts/aws_start_app.sh
|
location: scripts/aws_start_app.sh
|
||||||
runas: ubuntu
|
runas: root
|
||||||
timeout: 300
|
timeout: 300
|
||||||
ApplicationStop:
|
ApplicationStop:
|
||||||
-
|
-
|
||||||
location: scripts/aws_stop_app.sh
|
location: scripts/aws_stop_app.sh
|
||||||
runas: ubuntu
|
runas: root
|
||||||
timeout: 300
|
timeout: 300
|
||||||
os: linux
|
os: linux
|
||||||
version: 0.0
|
version: 0.0
|
||||||
|
|||||||
@@ -2,6 +2,5 @@
|
|||||||
|
|
||||||
echo "Install dependencies"
|
echo "Install dependencies"
|
||||||
cd /home/ubuntu/notifications-admin;
|
cd /home/ubuntu/notifications-admin;
|
||||||
export FLASK_CONFIG=/home/ubuntu/config.cfg
|
|
||||||
pip3 install -r /home/ubuntu/notifications-admin/requirements.txt
|
pip3 install -r /home/ubuntu/notifications-admin/requirements.txt
|
||||||
python3 db.py db upgrade
|
python3 db.py db upgrade
|
||||||
|
|||||||
Reference in New Issue
Block a user