Restart postgresql before creating database
This commit is contained in:
parent
d2bef30573
commit
c8f826343b
|
@ -244,6 +244,7 @@ function pleroma_create_database {
|
|||
fi
|
||||
sudo -u pleroma mix local.hex --force
|
||||
sudo -u pleroma mix deps.compile mimerl
|
||||
systemctl restart postgresql
|
||||
sudo -u pleroma mix ecto.create --force
|
||||
if [ ! "$?" = "0" ]; then
|
||||
run_system_query_postgresql "ALTER USER pleroma NOSUPERUSER;"
|
||||
|
|
Loading…
Reference in New Issue