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 NixOS#119687.

Fixes NixOS#119687.
  • Loading branch information
purcell committed Sep 27, 2021
1 parent 454f253 commit 024cd34
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 024cd34

Please sign in to comment.