Remove stale Postgres references after SQLite cutover.

Drop .pgpass handling, Postgres ownership repairs, and the docker db
container viewability rules. Update comments and pi-gen map docs for
SQLite/PMTiles. Help submodule documents the new database layout.
This commit is contained in:
Roland 2026-07-18 13:19:26 -06:00
parent 698e61be34
commit 4cafb9f00e
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680
12 changed files with 23 additions and 40 deletions

View file

@ -62,10 +62,8 @@ rm -f /etc/apache2/conf-available/mod_tile.conf
rm -f /etc/apache2/sites-available/000-default.conf
rm -rf /etc/systemd/system/postgresql@15-map.service.d
rm -f /var/www/html/leaflet.js /var/www/html/leaflet.css
# Remove old .pgpass entry for the map database.
if [ -f /home/wrolpi/.pgpass ]; then
sed -i '/5433/d' /home/wrolpi/.pgpass
fi
# Remove legacy Postgres client credentials (no longer used).
rm -f /home/wrolpi/.pgpass
# --- Step 5: Update wrolpi.target to remove old services ---