[fix] Change odoo posgres password
This commit is contained in:
parent
4c48a7798c
commit
4dc5143fe1
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue