I had to restart my Start9 node yesterday and was really frustrated when I realized that I had to reconfigure my Cloudflare tunnels. Knowing this it's likely to happen again, I wrote a script to handle it next time. I spent an embarrassing amount of time on this, so I hope someone will find it useful. Enjoy!
https://gist.github.com/sudocarlos/49982cd4928abd4153da64900a268d81
https://gist.github.com/sudocarlos/49982cd4928abd4153da64900a268d81