Update to 2023-03-22 17:00

This commit is contained in:
Daniel Berteaud 2023-03-22 17:00:10 +01:00
parent 58b2d119c3
commit 64f2fb271f
3 changed files with 6 additions and 1 deletions

View File

@ -29,3 +29,6 @@ odoo_ports: [ "{{ odoo_http_port }}","{{ odoo_longpolling_port }}" ]
odoo_workers: 4
odoo_email: "{{ system_admin_email | default('admin' + ansible_domain ) }}"
# If enabled, db manager will be accessible
odoo_db_list: False

View File

@ -6,7 +6,8 @@ After=network.service
Type=simple
User={{ odoo_user }}
Group={{ odoo_user }}
ExecStart={{ odoo_root_dir }}/venv/bin/python3 {{ odoo_root_dir }}/app/setup/odoo -c {{ odoo_root_dir }}/etc/odoo-server.conf --proxy-mode --no-database-list
ExecStart={{ odoo_root_dir }}/venv/bin/python3 {{ odoo_root_dir }}/app/setup/odoo -c {{ odoo_root_dir }}/etc/odoo-server.conf --proxy-mode{% if not odoo_db_list %} --no-database-list{% endif %}
PrivateTmp=yes
PrivateDevices=yes
ProtectSystem=full

View File

@ -12,5 +12,6 @@ odoo_packages:
#- nodejs-less
- tar
- zstd
- postgresql14 # for pg_dump
odoo_venv_command: /bin/python3.9 -m venv