Create a file named checkifisonline.sh (give it permission read and write) allow Executable ) working in ubuntu or whonix or in tails drag and Drop in the terminal and hit enter ..
*remember to change the onion site in the script for yours.. and to put the path to the music .mp3 ..
When the Site will go down The alarm will start .. Take note in ubuntu if the alarm start and the site is ok .. restart ubuntu start the script again .. how i do ?
in ubuntu i have tor installed .. i start in the terminal tor
i do that is start tor After i open a terminal
i start anonsurf (working in ubuntu )
sudo anonsurf Start
after i open a terminal in the folder Where i have put the script and the .mp3 music i drag and drop the script and hit Enter if Tor is open the script will working after less of 4 min i see The site is UP .. when is go down is Write in red the site is Down and the music Start !
take note tor was under ddos attack Junuary 2021 .. They will patch That next tor Version probably !