From 204a8d535941713d72b3a420ad2a4c4b03859a77 Mon Sep 17 00:00:00 2001 From: Todd McNeal Date: Fri, 6 Jan 2017 04:43:44 -0500 Subject: [PATCH] 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'. --- source/getting-started/autostart-systemd.markdown | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/getting-started/autostart-systemd.markdown b/source/getting-started/autostart-systemd.markdown index 4f2aa50f747..55b026452d0 100644 --- a/source/getting-started/autostart-systemd.markdown +++ b/source/getting-started/autostart-systemd.markdown @@ -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