This commit is contained in:
Bob Mottram 2017-11-29 14:28:31 +00:00
parent c459d4c257
commit 4ca61f2aac
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ function peertube_create_database {
fi
systemctl restart postgresql
add_postgresql_user pleroma "$PEERTUBE_ADMIN_PASSWORD" encrypted
add_postgresql_user peertube "$PEERTUBE_ADMIN_PASSWORD" encrypted
run_system_query_postgresql "create database peertube;"
# temporarily allow the user to create databases
run_system_query_postgresql "ALTER USER peertube CREATEDB;"