mirror of
https://github.com/YunoHost-Apps/libreerp_ynh.git
synced 2024-09-03 19:36:13 +02:00
[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
|
sudo rm -Rf $DESTDIR
|
||||||
|
|
||||||
ynh_psql_execute_as_root "ALTER USER $APPNAME WITH CREATEDB;"
|
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
|
sudo su -c "createdb -O $APPNAME $APPNAME" - postgres
|
||||||
|
|
||||||
# Set admin password
|
# Set admin password
|
||||||
|
|
Loading…
Reference in a new issue