forked from fort-nix/nix-bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lightning-charge: Update pkg and run under lightning-charge user
It has been possible to set JSON-RPC socket permissions since ElementsProject/lightning#3437. This commit makes the clightning JSON-RPC socket group readable and writeable, runs lightning-charge under its own user with clightning membership, and removes related warnings. I haven't figured out a good way to migrate an existing lightning-charge.db to the right ownership and permissions. I thought about removing the lightning-cli option, but I think it's actually not a good idea to run lightning-cli with another user anyway, I ask for feedback on this.
- Loading branch information
1 parent
93593e8
commit 645e75a
Showing
6 changed files
with
300 additions
and
674 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.