Correct the psql command

This commit is contained in:
rinpatch 2019-06-22 02:09:45 +03:00
parent ee4e7c6570
commit d1d648b0ec

View File

@ -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" 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 # 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 # If you have installed RUM indexes add
# `config :pleroma, :database, rum_enabled: true` # `config :pleroma, :database, rum_enabled: true`