Correct the psql command
This commit is contained in:
parent
ee4e7c6570
commit
d1d648b0ec
|
@ -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`
|
||||||
|
|
Loading…
Reference in New Issue