Awesomeness
Watchtower scripts.
For those of you who have watchtowers I have made a small script to run all the commands to check your towers as below. If you are a newb like myself and need instructions go here for a guide I made https://bevstr.com/Watchtower Script Instructions.txt.
Hope you find it useful
#!/bin/bash
# Ask the user a question and read their input
read -p "Do you want to run Bevos' Watchtower Script (Y/N): " answer
# Check the user's answer
if [ "$answer" == "Y" ] || [ "$answer" == "y" ]; then
# User answered "Yes"
echo "Running Command 1: ./scripts/app compose lightning exec lnd lncli tower info"
./scripts/app compose lightning exec lnd lncli tower info
echo "Running Command 2: ./scripts/app compose lightning exec lnd lncli wtclient towers"
./scripts/app compose lightning exec lnd lncli wtclient towers
echo "Running Command 3: ./scripts/app compose lightning exec lnd lncli wtclient stats"
./scripts/app compose lightning exec lnd lncli wtclient stats
echo "Running Command 4: ./scripts/app compose lightning exec lnd lncli wtclient policy"
./scripts/app compose lightning exec lnd lncli wtclient policy
else
# User answered something other than "Yes"
echo "Thats a shame, you really should check your watchtowers. Script execution cancelled."
Fi
Discussion
thanks puzzles