mirror of
https://github.com/YunoHost-Apps/libreerp_ynh.git
synced 2024-09-03 19:36:13 +02:00
[fix] Database unavailable on 11.0
This commit is contained in:
parent
36afe79b29
commit
31f7868194
3 changed files with 2 additions and 1 deletions
|
@ -8,4 +8,4 @@ db_user = odoo
|
||||||
db_password = {{ dbpass }}
|
db_password = {{ dbpass }}
|
||||||
addons_path = {{ source_path }}addons
|
addons_path = {{ source_path }}addons
|
||||||
proxy_mode = true
|
proxy_mode = true
|
||||||
dbfilter = %h
|
dbfilter = ^{{ database }}$
|
||||||
|
|
BIN
scripts/.restore.swp
Normal file
BIN
scripts/.restore.swp
Normal file
Binary file not shown.
|
@ -35,6 +35,7 @@ define_dbpass
|
||||||
#=================================================
|
#=================================================
|
||||||
function setup_files() {
|
function setup_files() {
|
||||||
# Set admin password
|
# Set admin password
|
||||||
|
export database=${domain//./-}
|
||||||
ynh_configure openerp-server.conf $conf_file
|
ynh_configure openerp-server.conf $conf_file
|
||||||
chown odoo:odoo $conf_file
|
chown odoo:odoo $conf_file
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue