Skip to content

Commit

Permalink
lightningd.service: note that the hardening setting seems to break no…
Browse files Browse the repository at this point in the history
…de.js plugins

See-also: Ride-The-Lightning/c-lightning-REST#116
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
  • Loading branch information
rustyrussell authored and ddustin committed May 12, 2023
1 parent 991fd36 commit 1536166
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions contrib/init/lightningd.service
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ NoNewPrivileges=true
PrivateDevices=true

# Deny the creation of writable and executable memory mappings.
# NOTE: This seems to break node.js plugins, notably Ride-The-Lightning/c-lightning-REST:
# https://github.com/Ride-The-Lightning/c-lightning-REST/issues/116
MemoryDenyWriteExecute=true

[Install]
Expand Down

0 comments on commit 1536166

Please sign in to comment.