1
0
forked from ScoDoc/ScoDoc

create_database.sh run as root

This commit is contained in:
Emmanuel Viennet 2021-07-27 14:38:26 +03:00
parent b17d664652
commit 7e3ac9884c

View File

@ -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