Update upgrading.markdown (#2190)

Fix command line to start and stop Home Assistant
This commit is contained in:
Jochen Martin Eppler 2017-03-04 16:35:51 +01:00 committed by Fredrik Lindqvist
parent efc84dfec1
commit 2761984345

View File

@ -24,12 +24,12 @@ $ sudo apt-get -y upgrade
To update the Home Assistant installation execute the following command as the `pi` user.
```bash
$ sudo systemctl stop homeassistant@homeassistant.service
$ sudo systemctl stop home-assistant@homeassistant.service
$ sudo su -s /bin/bash homeassistant
$ source /srv/homeassistant/bin/activate
$ pip3 install --upgrade homeassistant
$ exit
$ sudo systemctl start homeassistant@homeassistant.service
$ sudo systemctl start home-assistant@homeassistant.service
```
#### {% linkable_title Upgrading the hassbian-scripts %}