Update to 2021-08-02 11:00

master
Daniel Berteaud 3 years ago
parent e580ba7cb7
commit 0b7dbb53c5
  1. 4
      roles/n8n/templates/n8n.service.j2

@ -11,9 +11,9 @@ ExecStart={{ n8n_root_dir }}/app/node_modules/n8n/bin/n8n
PrivateTmp=yes PrivateTmp=yes
{% if n8n_protect_system %} {% if n8n_protect_system %}
ProtectSystem=full ProtectSystem=full
{% endif %}
ProtectHome=yes
NoNewPrivileges=yes NoNewPrivileges=yes
ProtectHome=yes
{% endif %}
MemoryLimit={{ n8n_mem_limit }}M MemoryLimit={{ n8n_mem_limit }}M
Environment=NODE_OPTIONS="--max-old-space-size={{ n8n_mem_limit }}" Environment=NODE_OPTIONS="--max-old-space-size={{ n8n_mem_limit }}"
Restart=on-failure Restart=on-failure

Loading…
Cancel
Save