mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-28 16:58:03 +01:00
parent
2519cc8708
commit
d7599c21ae
1 changed files with 4 additions and 0 deletions
|
@ -123,6 +123,10 @@ if [ "$1" = "update-config" ]; then
|
|||
# configure CL
|
||||
elif [ "${lightning}" == "cl" ]; then
|
||||
|
||||
# make sure socket can be accessed by blitzapi
|
||||
echo "# Access Rights Web API Lightning --> CL SOCKET: /mnt/hdd/app-data/.lightning/bitcoin/lightning-rpc"
|
||||
sudo chmod 770 /mnt/hdd/app-data/.lightning/bitcoin/lightning-rpc
|
||||
|
||||
echo "# CONFIG Web API Lightning --> CL"
|
||||
sed -i "s/^ln_node=.*/ln_node=cln_jrpc/g" ./.env
|
||||
sed -i "s#^cln_jrpc_path=.*#cln_jrpc_path=\"/mnt/hdd/app-data/.lightning/bitcoin/lightning-rpc\"#g" ./.env
|
||||
|
|
Loading…
Add table
Reference in a new issue