Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Uninstaller for Home Assistant Supervised on Debian 10
#!/usr/bin/env bash
sudo systemctl disable apparmor
sudo systemctl disable hassio-apparmor.service
sudo systemctl disable hassio-supervisor.service
sudo systemctl daemon-reload
sudo systemctl reset-failed
sudo rm /etc/systemd/system/hassio-supervisor.service
sudo rm /etc/systemd/system/hassio-apparmor.service
# IMPORTANT: If you're running other docker containers that you DONT want to lose you will need to change the line below to remove ONLY the home assistant docker containers
sudo docker kill $(sudo docker ps -q) && sudo docker rm $(sudo docker ps -a -q)
sudo rm -rf /usr/share/hassio
sudo rm /usr/sbin/hassio-apparmor
sudo rm /usr/sbin/hassio-supervisor
sudo rm /usr/bin/ha
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment