Skip to content

Commit

Permalink
Merge pull request #91 from coopdevs/fix/missing_environment_variables
Browse files Browse the repository at this point in the history
Fix environment_variable condition in the service template.
  • Loading branch information
cesarlr authored Sep 28, 2020
2 parents 71db0a4 + 721a059 commit 6c8f322
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/odoo.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Description=Odoo server

[Service]
ExecStart={{ odoo_role_odoo_python_path }} {{ odoo_role_odoo_bin_path }} -c {{ odoo_role_odoo_config_path }}/odoo.conf
{% if environment_variables %}
{% if environment_variables is defined %}
EnvironmentFile=/etc/default/odoo
{% endif %}

Expand Down

0 comments on commit 6c8f322

Please sign in to comment.