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.

17 satır
512B

  1. {%- set service = salt['pillar.get']('supervisor:server:service:'+service_name) %}
  2. {%- from "home_assistant/map.jinja" import server with context %}
  3. [program:home_assistant_server]
  4. command=/srv/home_assistant/bin/hass --config /etc/home_assistant/
  5. directory=/srv/home_assistant
  6. autostart=true
  7. autorestart=true
  8. startretries=3
  9. exitcodes=0,2
  10. stopsignal=TERM
  11. redirect_stderr=true
  12. stdout_logfile=/var/log/home_assistant/home_assistant.log
  13. stdout_logfile_maxbytes=1MB
  14. stdout_logfile_backups=10
  15. user={{ server.user }}