Skip to content

Commit

Permalink
n8n: remove systemd option incompatible with nodejs
Browse files Browse the repository at this point in the history
The MemoryDenyWriteExecute systemd option is widely known to be
incompatible with nodejs, and causes service crashes as reported in #119687.

Fixes #119687.
  • Loading branch information
purcell authored and alyssais committed Sep 29, 2021
1 parent 9d340e6 commit 4b518f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/services/misc/n8n.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
};
};
Expand Down

0 comments on commit 4b518f4

Please sign in to comment.