Saltstack Official Home Assistant Formula
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- {%- set service = salt['pillar.get']('supervisor:server:service:'+service_name) %}
- {%- from "home_assistant/map.jinja" import server with context %}
-
- [program:home_assistant_server]
- command=/srv/home_assistant/bin/hass --config /etc/home_assistant/
- directory=/srv/home_assistant
- autostart=true
- autorestart=true
- startretries=3
- exitcodes=0,2
- stopsignal=TERM
- redirect_stderr=true
- stdout_logfile=/var/log/home_assistant/home_assistant.log
- stdout_logfile_maxbytes=1MB
- stdout_logfile_backups=10
- user={{ server.user }}
|