From: rinpatch Date: Fri, 21 Jun 2019 23:09:45 +0000 (+0300) Subject: Correct the psql command X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=d1d648b0ecfb0924d7921796d7edef9512e030b0;p=akkoma Correct the psql command --- diff --git a/docs/installation/releases_en.md b/docs/installation/releases_en.md index c682a8d61..10d8879af 100644 --- a/docs/installation/releases_en.md +++ b/docs/installation/releases_en.md @@ -107,7 +107,7 @@ chown -R pleroma /etc/pleroma su pleroma -s $SHELL -lc "./bin/pleroma_ctl instance gen --output /etc/pleroma/config.exs --output-psql /tmp/setup_db.psql" # Create the postgres database -psql -U postgres -d postgres -f /tmp/setup_db.psql +su postgres -s $SHELL -lc "psql -f /tmp/setup_db.psql" # If you have installed RUM indexes add # `config :pleroma, :database, rum_enabled: true`