roles/homeassistant: Deploy Home Assistant

This commit introduces a *homeassistant* role that installs and sets up
Home Assistant using `pip`.
This commit is contained in:
2019-03-05 18:27:37 -06:00
parent f002da86ef
commit 960528c001
7 changed files with 142 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
#!/bin/sh
exec /var/lib/homeassistant/.local/bin/hass

View File

@@ -0,0 +1,12 @@
# vim: set ft=systemd :
[Unit]
Description=Home Assistant
[Service]
Type=simple
ExecStart=/usr/local/bin/hass
User=homeassistant
UMask=0077
[Install]
WantedBy=multi-user.target