From bf29b1e84b449510254d6e02fe9f05fd37c48bc0 Mon Sep 17 00:00:00 2001 From: ryqiem Date: Sun, 23 Oct 2016 15:19:34 +0200 Subject: [PATCH] Update autostart-systemd.markdown --- source/getting-started/autostart-systemd.markdown | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/getting-started/autostart-systemd.markdown b/source/getting-started/autostart-systemd.markdown index f18987a26bd..8909c7aa1d0 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 `hass` in virtualenv following the guide the following template should work for you. +If you've setup Home Assistant in virtualenv following the guide the following template should work for you. ``` [Unit] @@ -45,8 +45,8 @@ After=network.target [Service] Type=simple User=hass -ExecStartPre=source source /srv/hass/bin/activate -ExecStart=/srv/hass/bin/hass -c "/home/hass/.homeassistant" +ExecStartPre=source /srv/hass/bin/activate +ExecStart=/srv/hass/bin/hass "/home/hass/.homeassistant" [Install] WantedBy=multi-user.target