mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-04 21:59:58 -05:00
Creating script which migrates map database to new database for custom niceness.
This commit is contained in:
parent
28fbc8f197
commit
7324e83626
15 changed files with 126 additions and 57 deletions
|
|
@ -17,7 +17,7 @@ set -x
|
|||
systemctl stop wrolpi-api
|
||||
|
||||
# Delete the WROLPi API DB, if it exists.
|
||||
sudo -u postgres dropdb wrolpi
|
||||
sudo -u postgres dropuser wrolpi
|
||||
sudo -iu postgres dropdb wrolpi
|
||||
sudo -iu postgres dropuser wrolpi
|
||||
|
||||
/bin/bash /opt/wrolpi/scripts/initialize_api_db.sh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue