Site updated at 2017-01-17 07:54:12 UTC
This commit is contained in:
parent
d9aa97aec2
commit
f3be47bb85
24 changed files with 42 additions and 38 deletions
|
@ -125,7 +125,9 @@ After=network.target
|
|||
[Service]
|
||||
Type=simple
|
||||
User=homeassistant
|
||||
ExecStartPre=source /srv/homeassistant/homeassistant_venv/bin/activate
|
||||
#make sure the virtualenv python binary is used
|
||||
Environment=VIRTUAL_ENV="/srv/homeassistant/homeassistant_venv"
|
||||
Environment=PATH="$VIRTUAL_ENV/bin:$PATH"
|
||||
ExecStart=/srv/homeassistant/homeassistant_venv/bin/hass -c "/home/homeassistant/.homeassistant"
|
||||
|
||||
[Install]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue