forked from ScoDoc/ScoDoc
create_database.sh run as root
This commit is contained in:
parent
b17d664652
commit
7e3ac9884c
@ -15,6 +15,6 @@ init_postgres_user
|
|||||||
|
|
||||||
# 2--- CREATION BASE UTILISATEURS
|
# 2--- CREATION BASE UTILISATEURS
|
||||||
echo 'Creating postgresql database for users:' "$SCODOC_USER_DB"
|
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
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user