mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 02:42:26 -05:00
Merge pull request #64 from alphagov/move-db-updates-to-be-run-by-ubuntu
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
|
||||
runas: root
|
||||
timeout: 300
|
||||
-
|
||||
location: scripts/aws_db_updates.sh
|
||||
runas: ubuntu
|
||||
timeout: 300
|
||||
ApplicationStart:
|
||||
-
|
||||
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