Systemd File to Run the Python Script from Boot - OStillman/HomeAssistantTeamsStatus GitHub Wiki
Let's run this script from boot using a Systemd Service file
This step is easy:
- Copy the TeamsStatus.service file to /etc/systemd/system - this may need to be run as a root user i.e. with sudo
- Reload the daemon
sudo systemctl daemon-reload - Activate the systemd file
sudo systemctl enable TeamsStatus.service - Either: Reboot, or Start the Service with
sudo systemctl start TeamsStatus.service