mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-28 03:37:06 +00:00
Update upgrading.markdown (#2190)
Fix command line to start and stop Home Assistant
This commit is contained in:
parent
efc84dfec1
commit
2761984345
@ -24,12 +24,12 @@ $ sudo apt-get -y upgrade
|
|||||||
To update the Home Assistant installation execute the following command as the `pi` user.
|
To update the Home Assistant installation execute the following command as the `pi` user.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ sudo systemctl stop homeassistant@homeassistant.service
|
$ sudo systemctl stop home-assistant@homeassistant.service
|
||||||
$ sudo su -s /bin/bash homeassistant
|
$ sudo su -s /bin/bash homeassistant
|
||||||
$ source /srv/homeassistant/bin/activate
|
$ source /srv/homeassistant/bin/activate
|
||||||
$ pip3 install --upgrade homeassistant
|
$ pip3 install --upgrade homeassistant
|
||||||
$ exit
|
$ exit
|
||||||
$ sudo systemctl start homeassistant@homeassistant.service
|
$ sudo systemctl start home-assistant@homeassistant.service
|
||||||
```
|
```
|
||||||
|
|
||||||
#### {% linkable_title Upgrading the hassbian-scripts %}
|
#### {% linkable_title Upgrading the hassbian-scripts %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user