mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-25 18:40:06 -04:00
repair.sh will initialize map database if it does not exist.
This commit is contained in:
parent
6252022932
commit
cc6d20dac6
1 changed files with 3 additions and 0 deletions
|
|
@ -103,6 +103,9 @@ cp /opt/wrolpi/etc/raspberrypios/mod_tile.conf /etc/apache2/conf-available/mod_t
|
|||
|
||||
carto -v
|
||||
|
||||
# Initialize the map if it has not been initialized.
|
||||
sudo -u postgres psql -c '\l' | grep gis || yes | /opt/wrolpi/scripts/initialize_map_db.sh
|
||||
|
||||
cp /opt/wrolpi/etc/raspberrypios/renderd.conf /etc/renderd.conf
|
||||
# Configure Apache2 to listen on 8084.
|
||||
cp /opt/wrolpi/etc/raspberrypios/ports.conf /etc/apache2/ports.conf
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue