This is the implementation of my vision of smart home bot
Use telebot.service as an example of how to run the bot as a system process. Commands you may need:
cd /lib/systemd/systemsudo nano telebot.servicesystemctl daemon-reloadsudo systemctl restart telebotsystemctl status telebot.service