Another database restart

This commit is contained in:
Bob Mottram 2017-11-07 18:44:33 +00:00
parent c8f826343b
commit 219ad6ac45
1 changed files with 1 additions and 0 deletions

View File

@ -199,6 +199,7 @@ function pleroma_create_database {
return
fi
systemctl restart postgresql
add_postgresql_user pleroma "$PLEROMA_ADMIN_PASSWORD" encrypted
run_system_query_postgresql "create database pleroma;"
# temporarily allow the user to create databases