From 701bd151635c325e2197b43607ba063bae699d94 Mon Sep 17 00:00:00 2001 From: Roland Date: Thu, 9 Feb 2023 10:14:12 -0700 Subject: [PATCH] Changing Postgres port to 5432. --- pi-gen/stage2/04-wrolpi/03-run-chroot.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pi-gen/stage2/04-wrolpi/03-run-chroot.sh b/pi-gen/stage2/04-wrolpi/03-run-chroot.sh index 3a42ed49..9aa17123 100755 --- a/pi-gen/stage2/04-wrolpi/03-run-chroot.sh +++ b/pi-gen/stage2/04-wrolpi/03-run-chroot.sh @@ -11,6 +11,9 @@ alias ll='ls -lh' alias la='ll -a' EOF +# Change default postgresql port to 5432. +sed -i 's/port = 5433/port = 5432/' /etc/postgresql/13/main/postgresql.conf + # Install Node console commands. single-file --version || npm i -g serve@12.0.1 single-file-cli@1.0.15 'git+https://github.com/lrnselfreliance/readability-extractor' carto@1.2.0