How to automatically rebalance your channels - profitably!

Ran into the an error when running the command:

./rebalance.py -c

Error:

FileNotFoundError: [Errno 2] No such file or directory: ‘/root/.lnd/tls.cert’

Found the answer in [this thread] which changes the LND directory. So now I’m running the command:

./rebalance.py --lnddir /home/umbrel/umbrel/app-data/lightning/data/lnd -c