mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 02:42:26 -05:00
New script to run db updates so can be done by ubuntu user
This commit is contained in:
@@ -13,6 +13,10 @@ hooks:
|
|||||||
location: scripts/aws_change_ownership.sh
|
location: scripts/aws_change_ownership.sh
|
||||||
runas: root
|
runas: root
|
||||||
timeout: 300
|
timeout: 300
|
||||||
|
-
|
||||||
|
location: scripts/aws_db_updates.sh
|
||||||
|
runas: ubuntu
|
||||||
|
timeout: 300
|
||||||
ApplicationStart:
|
ApplicationStart:
|
||||||
-
|
-
|
||||||
location: scripts/aws_start_app.sh
|
location: scripts/aws_start_app.sh
|
||||||
|
|||||||
3
scripts/aws_db_updates.sh
Executable file
3
scripts/aws_db_updates.sh
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
python3 db.py db upgrade
|
||||||
Reference in New Issue
Block a user