bitcoind: add netns and nonetns cli scripts
nonetns script needed for bitcoind-import-banlist
This commit is contained in:
parent
75ca6f186c
commit
515aae2825
2 changed files with 14 additions and 2 deletions
|
|
@ -176,6 +176,9 @@ in {
|
|||
] ++ lib.lists.concatMap (s: [
|
||||
"${netns.${s}.address}"
|
||||
]) netns.bitcoind.availableNetns;
|
||||
cli = pkgs.writeScriptBin "bitcoin-cli" ''
|
||||
netns-exec nb-bitcoind ${config.services.bitcoind.package}/bin/bitcoin-cli -datadir='${config.services.bitcoind.dataDir}' "$@"
|
||||
'';
|
||||
};
|
||||
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue