Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions trobz_deploy/templates/odoo.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ After=network.target postgresql.service
[Service]
Type=simple
WorkingDirectory={{ instance_path }}
EnvironmentFile=-{{ instance_path }}/config/server.env
ExecStart=bash -c "{{ venv_path }}/bin/python {{ venv_path }}/bin/odoo \
--config {{ instance_path }}/config/odoo.conf \
--addons-path $({{ odoo_addons_path }} {{ instance_path }})"
Expand Down
1 change: 1 addition & 0 deletions trobz_deploy/templates/service.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ After=network.target
[Service]
Type=simple
WorkingDirectory={{ instance_path }}
EnvironmentFile=-{{ instance_path }}/.env
ExecStart={{ exec_start }}
Restart=on-failure
RestartSec=5s
Expand Down