From 5d95eb475e42b76a901f4e7ae017f2790e17fe00 Mon Sep 17 00:00:00 2001 From: Stephan Oeste Date: Sun, 20 Nov 2022 14:55:00 +0100 Subject: [PATCH] Add symlink to bitcoin config for user cln in prod install --- production/install | 2 ++ 1 file changed, 2 insertions(+) diff --git a/production/install b/production/install index 9bab3a418..992522afb 100755 --- a/production/install +++ b/production/install @@ -1319,6 +1319,8 @@ case $OS in osSudo "${ROOT_USER}" mkdir -p "${CLN_HOME}/.lightning/{bitcoin,signet,testnet}" osSudo "${ROOT_USER}" chmod 750 "${CLN_HOME}" "${CLN_HOME}/.lightning" "${CLN_HOME}/.lightning/{bitcoin,signet,testnet}" osSudo "${ROOT_USER}" chown -R "${CLN_USER}:${CLN_GROUP}" "${CLN_HOME}" + echo "[*] Creating symlink to .bitcoin folder" + osSudo "${CLN_USER}" ln -s "${BITCOIN_HOME}/.bitcoin" "${CLN_HOME}/.bitcoin" echo "[*] Installing Core Lightning package" osPackageInstall ${CLN_PKG}