From 0b7dbb53c5ad8ef285885d4622fab2909f58d8b0 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 2 Aug 2021 11:00:05 +0200 Subject: [PATCH] Update to 2021-08-02 11:00 --- roles/n8n/templates/n8n.service.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/n8n/templates/n8n.service.j2 b/roles/n8n/templates/n8n.service.j2 index c3470cb..d86489d 100644 --- a/roles/n8n/templates/n8n.service.j2 +++ b/roles/n8n/templates/n8n.service.j2 @@ -11,9 +11,9 @@ ExecStart={{ n8n_root_dir }}/app/node_modules/n8n/bin/n8n PrivateTmp=yes {% if n8n_protect_system %} ProtectSystem=full -{% endif %} -ProtectHome=yes NoNewPrivileges=yes +ProtectHome=yes +{% endif %} MemoryLimit={{ n8n_mem_limit }}M Environment=NODE_OPTIONS="--max-old-space-size={{ n8n_mem_limit }}" Restart=on-failure