mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-19 06:04:21 +01:00
Fix HA container
This commit is contained in:
@@ -68,6 +68,11 @@ function cleanup_hass_data() {
|
|||||||
function cleanup_docker() {
|
function cleanup_docker() {
|
||||||
echo "Cleaning up stopped containers..."
|
echo "Cleaning up stopped containers..."
|
||||||
docker rm $(docker ps -a -q)
|
docker rm $(docker ps -a -q)
|
||||||
|
|
||||||
|
# Clean homeassistant instance
|
||||||
|
if docker rm -f homeassistant 2> /dev/null; then
|
||||||
|
echo "Cleanup HomeAssistant instance"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function run_supervisor() {
|
function run_supervisor() {
|
||||||
|
|||||||
Reference in New Issue
Block a user