aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-06-22 02:09:45 +0300
committerrinpatch <rinpatch@sdf.org>2019-06-22 02:09:45 +0300
commitd1d648b0ecfb0924d7921796d7edef9512e030b0 (patch)
tree828c7407bcebc7e36fc3076baf0c68c9b735da44 /docs
parentee4e7c6570dd959fe5c65fc5e18967af5a870735 (diff)
downloadpleroma-d1d648b0ecfb0924d7921796d7edef9512e030b0.tar.gz
Correct the psql command
Diffstat (limited to 'docs')
-rw-r--r--docs/installation/releases_en.md2
1 files changed, 1 insertions, 1 deletions
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`