fix
This commit is contained in:
parent
0c5dd4bb0a
commit
4a4b0d399f
2 changed files with 5 additions and 7 deletions
|
@ -5,10 +5,6 @@ db_host = False
|
|||
db_port = False
|
||||
db_user = odoo
|
||||
db_password = False
|
||||
addons_path = /opt/odoo/addons
|
||||
;Log settings
|
||||
logfile = /var/log/odoo/odoo-server.log
|
||||
log_level = error
|
||||
addons_path = /usr/lib/python2.7/dist-packages/openerp/addons
|
||||
proxy_mode = true
|
||||
dbfilter = %h
|
||||
init = auth_ldap
|
||||
dbfilter = %h
|
|
@ -37,7 +37,9 @@ sudo yunohost app setting $app domain -v $domain
|
|||
sudo apt-get -y install odoo
|
||||
|
||||
# Set admin password
|
||||
sudo sed -i "s@admin_passwd = admin@admin_passwd = $admin_password@g" /etc/odoo/openerp-server.conf
|
||||
sudo sed -i "s@admin_passwd = admin@admin_passwd = $admin_password@g" ../conf/openerp-server.conf
|
||||
sudo cp ../conf/openerp-server.conf /etc/odoo/openerp-server.conf
|
||||
sudo chown odoo:odoo /etc/odoo/openerp-server.conf
|
||||
|
||||
# Setup LDAP
|
||||
sudo sed -i "s@'auto_install': False@'auto_install': True@g" /usr/lib/python2.7/dist-packages/openerp/addons/auth_ldap/__openerp__.py
|
||||
|
|
Loading…
Reference in a new issue