修改service文件中pip源以解决Home-Assistant初始化慢的问题
sudo systemctl edit home-assistant.service添加[Service] Environment="HOME=/var/lib/hass" Environment="PIP_INDEX_URL=https://pypi.tuna.tsinghua.edu.cn/simple"…
1 篇文章