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.

7 yıl önce
8 yıl önce
8 yıl önce
8 yıl önce
7 yıl önce
12345678910111213141516
  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 }}