config: add unix socket example to sample configuration

This commit is contained in:
Oliver Gugger 2018-05-23 15:41:59 +02:00 committed by Oliver Gugger
parent 9f0e39f881
commit 8d6b49384a
No known key found for this signature in database
GPG Key ID: 8E4256593F177720

@ -38,7 +38,7 @@
; Path to write the read-only macaroon for lnd's RPC and REST services if it ; Path to write the read-only macaroon for lnd's RPC and REST services if it
; doesn't exist. This can be set if one wishes to store the read-only macaroon ; doesn't exist. This can be set if one wishes to store the read-only macaroon
; in a distinct location. The read only macaroon allows users which can read ; in a distinct location. The read only macaroon allows users which can read
; the file to access RPC's which don't modify the state of the daemon. ; the file to access RPCs which don't modify the state of the daemon.
; readonlymacaroonpath=~/.lnd/readonly.macaroon ; readonlymacaroonpath=~/.lnd/readonly.macaroon
@ -61,6 +61,8 @@
; On ipv4 localhost port 10009 and ipv6 port 10010: ; On ipv4 localhost port 10009 and ipv6 port 10010:
; rpclisten=localhost:10009 ; rpclisten=localhost:10009
; rpclisten=[::1]:10010 ; rpclisten=[::1]:10010
; On an Unix socket:
; rpclisten=unix:///var/run/lnd/lnd-rpclistener.sock
; Specify the interfaces to listen on for REST connections. One listen ; Specify the interfaces to listen on for REST connections. One listen
; address per line. ; address per line.
@ -69,6 +71,8 @@
; On ipv4 localhost port 80 and 443: ; On ipv4 localhost port 80 and 443:
; restlisten=localhost:80 ; restlisten=localhost:80
; restlisten=localhost:443 ; restlisten=localhost:443
; On an Unix socket:
; restlisten=unix:///var/run/lnd-restlistener.sock
; Adding an external IP will advertise your node to the network. This signals ; Adding an external IP will advertise your node to the network. This signals