[fix] Change odoo posgres password

This commit is contained in:
ljf 2016-12-14 14:27:32 +01:00
parent 4c48a7798c
commit 4dc5143fe1

View file

@ -76,6 +76,7 @@ else
sudo rm -Rf $DESTDIR
ynh_psql_execute_as_root "ALTER USER $APPNAME WITH CREATEDB;"
ynh_psql_execute_as_root "ALTER USER $APPNAME WITH PASSWORD '$dbpass';"
sudo su -c "createdb -O $APPNAME $APPNAME" - postgres
# Set admin password