Install lnd
This commit is contained in:
parent
a38b919f05
commit
8e53e98383
5 changed files with 238 additions and 12 deletions
|
|
@ -29,12 +29,16 @@
|
|||
|
||||
whitelist=download@127.0.0.1
|
||||
|
||||
rpcauth=lnd:62e0c50a38ad22a6a40099db6f50a82c$5a27c8999ee5222c4edc28c699737f23d978df8ad6e267e21242328d5d1e7426
|
||||
rpccookiefile=/var/lib/bitcoind/.cookie
|
||||
rpccookieperms=group
|
||||
rpcbind=127.0.0.1
|
||||
rpcbind=10.88.0.1
|
||||
rpcallowip=127.0.0.1
|
||||
rpcallowip=10.88.0.0/16
|
||||
|
||||
zmqpubrawblock=tcp://127.0.0.1:28332
|
||||
zmqpubrawtx=tcp://127.0.0.1:28333
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -36,7 +36,6 @@
|
|||
tlsextradomain=localhost
|
||||
|
||||
[Bitcoin]
|
||||
bitcoin.active=true
|
||||
bitcoin.mainnet=true
|
||||
bitcoin.node=bitcoind
|
||||
|
||||
|
|
@ -81,7 +80,8 @@
|
|||
Group = "lnd";
|
||||
Type = "simple";
|
||||
|
||||
ExecStart = "${pkgs.lnd}/bin/lnd --configfile=${config.sops.templates."lnd.conf".path}";
|
||||
WorkingDirectory = "/var/lib/lnd";
|
||||
ExecStart = "${pkgs.lnd}/bin/lnd --lnddir=/var/lib/lnd --configfile=${config.sops.templates."lnd.conf".path}";
|
||||
|
||||
Restart = "on-failure";
|
||||
RestartSec = "10s";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue