I am creating a telegram bot in python using aiogram. I want to prescribe a condition under which the bot will reboot. Tell me how to implement using the code to restart the bot on aiogram? Thank you in advance for your help!
The bot works on a VPS with Ubuntu 20.04