Last active
January 19, 2025 14:52
-
-
Save stemsmit/944495cb659e3925d1ea72d457c28d8e to your computer and use it in GitHub Desktop.
Uninstaller for Home Assistant Supervised on Debian 10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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