mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-29 19:36:20 -05:00
Fixing upgrade which deletes the wrong map blob. Fixing the port so the old map database is deleted.
This commit is contained in:
parent
cef4335a53
commit
bd599e1b2b
3 changed files with 4 additions and 4 deletions
|
|
@ -28,8 +28,8 @@ set -x
|
|||
systemctl stop renderd
|
||||
|
||||
# Delete old map database, if it exists.
|
||||
sudo -iu postgres dropdb --port=5433 gis || :
|
||||
sudo -iu postgres dropuser --port=5433 _renderd || :
|
||||
sudo -iu postgres dropdb --port=5432 gis || :
|
||||
sudo -iu postgres dropuser --port=5432 _renderd || :
|
||||
# Delete new map database, it will be created again.
|
||||
sudo -iu postgres dropdb --port=5433 gis || :
|
||||
sudo -iu postgres dropuser --port=5433 _renderd || :
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue