api: fix symlink for CLN lightning-rpc access

This commit is contained in:
openoms 2022-07-23 15:10:35 +01:00
parent 1a2032b34a
commit 237721c9f4
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