Update systemd template used in manual installs (#1687)

The systemd template included on the "Getting Started" guide assumes that the user running Home Assistant is called 'hass', however the [Manual Installation guide](https://home-assistant.io/getting-started/installation-raspberry-pi/) uses the username 'homeassistant'.
This commit is contained in:
Todd McNeal 2017-01-06 04:43:44 -05:00 committed by Fabian Affolter
parent 2d9130fd0e
commit 53c00cd702
No known key found for this signature in database
GPG Key ID: E23CD2DD36A4397F

View File

@ -35,7 +35,7 @@ WantedBy=multi-user.target
EOF'
```
If you've setup Home Assistant in `virtualenv` following the guide the following template should work for you.
If you've setup Home Assistant in `virtualenv` following our [manual installation guide](https://home-assistant.io/getting-started/installation-raspberry-pi/), the following template should work for you.
```
[Unit]
@ -44,9 +44,9 @@ After=network.target
[Service]
Type=simple
User=hass
ExecStartPre=source /srv/hass/bin/activate
ExecStart=/srv/hass/bin/hass -c "/home/hass/.homeassistant"
User=homeassistant
ExecStartPre=source /srv/homeassistant/homeassistant_venv/bin/activate
ExecStart=/srv/homeassistant/homeassistant_venv/bin/hass -c "/home/homeassistant/.homeassistant"
[Install]
WantedBy=multi-user.target