hass/templates/home-assistant.service.j2
2020-03-01 16:18:48 +01:00

11 lines
213 B
Django/Jinja

[Unit]
Description=Home Assistant
After=network-online.target
[Service]
Type=simple
User={{hass_username}}
ExecStart={{hass_venv_location}}/bin/hass -c "{{hass_conf_folder}}"
[Install]
WantedBy=multi-user.target