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