停止HA服务
sudo systemctl stop homeassistant@homeassistant
开始更新HA
sudo -u homeassistant -H -scd /srv/homeassistantsource bin/activatepip3 install --upgrade homeassistant
启动HA
sudo systemctl start homeassistant@homeassistant
本文共 270 字,大约阅读时间需要 1 分钟。
停止HA服务
sudo systemctl stop homeassistant@homeassistant
开始更新HA
sudo -u homeassistant -H -scd /srv/homeassistantsource bin/activatepip3 install --upgrade homeassistant
启动HA
sudo systemctl start homeassistant@homeassistant
转载于:https://www.cnblogs.com/arrive/p/10167284.html