api: fix symlink for CLN lightning-rpc access

This commit is contained in:
openoms 2022-07-23 15:10:35 +01:00
parent 2d63681d5d
commit 305564f5c3
No known key found for this signature in database
GPG key ID: 5BFB77609B081B65

View file

@ -182,7 +182,7 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
# symlink the CLN data dir for blitzapi
sudo rm -rf /home/blitzapi/.lightning # not a symlink.. delete it silently
# create symlink
sudo - u blitzapi ln -s /mnt/hdd/app-data/.lightning /home/blitzapi/
sudo -u blitzapi ln -s /mnt/hdd/app-data/.lightning /home/blitzapi/
cd /home/blitzapi || exit 1
# git clone https://github.com/fusion44/blitz_api.git /home/blitzapi/blitz_api