n8n: remove systemd option incompatible with nodejs

The MemoryDenyWriteExecute systemd option is widely known to be
incompatible with nodejs, and causes service crashes as reported in #119687.

Fixes #119687.
This commit is contained in:
Steve Purcell
2021-09-27 16:07:10 +02:00
committed by Alyssa Ross
parent 9d340e65c1
commit 4b518f4aa9

View File

@@ -66,7 +66,7 @@ in
RestrictNamespaces = "yes";
RestrictRealtime = "yes";
RestrictSUIDSGID = "yes";
MemoryDenyWriteExecute = "yes";
MemoryDenyWriteExecute = "no"; # v8 JIT requires memory segments to be Writable-Executable.
LockPersonality = "yes";
};
};