From 7e3ac9884c8f59ff8d88443c96456343b66c736d Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Tue, 27 Jul 2021 14:38:26 +0300 Subject: [PATCH] create_database.sh run as root --- tools/create_database.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/create_database.sh b/tools/create_database.sh index 164a4b9fc..8e4433993 100755 --- a/tools/create_database.sh +++ b/tools/create_database.sh @@ -15,6 +15,6 @@ init_postgres_user # 2--- CREATION BASE UTILISATEURS echo 'Creating postgresql database for users:' "$SCODOC_USER_DB" -su -c "createdb -E UTF-8 -p $POSTGRES_PORT -O $POSTGRES_USER $SCODOC_USER_DB" $POSTGRES_SUPERUSER +su -c "createdb -E UTF-8 -p $POSTGRES_PORT -O $SCODOC_USER $SCODOC_USER_DB" $POSTGRES_SUPERUSER