fix: CLN datadir symlink for blitzapi

Related: https://github.com/fusion44/blitz_api/issues/122
This commit is contained in:
openoms 2022-07-01 07:04:58 +01:00
parent 24e0b40f50
commit 441ef22410
No known key found for this signature in database
GPG Key ID: 5BFB77609B081B65

View File

@ -178,6 +178,7 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
if [ "$(cat ${CLCONF} | grep -c "^rpc-file-mode=0660")" -eq 0 ]; then
echo "rpc-file-mode=0660" | tee -a ${CLCONF}
fi
/usr/sbin/usermod --append --groups bitcoin blitzapi
cd /home/blitzapi || exit 1
# git clone https://github.com/fusion44/blitz_api.git /home/blitzapi/blitz_api