Skip to content
Snippets Groups Projects
Commit c8f82634 authored by Bob Mottram's avatar Bob Mottram
Browse files

Restart postgresql before creating database

parent d2bef305
No related branches found
No related tags found
No related merge requests found
......@@ -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;"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment