Matrix Docker Ansible eploy
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 

36 строки
1.2 KiB

  1. #jinja2: lstrip_blocks: "True"
  2. [Unit]
  3. Description=Matrix jitsi-web server
  4. {% for service in matrix_jitsi_web_systemd_required_services_list %}
  5. Requires={{ service }}
  6. After={{ service }}
  7. {% endfor %}
  8. [Service]
  9. Type=simple
  10. ExecStartPre=-{{ matrix_host_command_docker }} kill matrix-jitsi-web
  11. ExecStartPre=-{{ matrix_host_command_docker }} rm matrix-jitsi-web
  12. ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-jitsi-web \
  13. --log-driver=none \
  14. --network={{ matrix_docker_network }} \
  15. --env-file={{ matrix_jitsi_web_base_path }}/env \
  16. {% if matrix_jitsi_web_container_http_host_bind_port %}
  17. -p {{ matrix_jitsi_web_container_http_host_bind_port }}:80 \
  18. {% endif %}
  19. -v {{ matrix_jitsi_web_config_path }}:/config \
  20. -v {{ matrix_jitsi_web_transcripts_path }}:/usr/share/jitsi-meet/transcripts \
  21. {% for arg in matrix_jitsi_web_container_extra_arguments %}
  22. {{ arg }} \
  23. {% endfor %}
  24. {{ matrix_jitsi_web_docker_image }}
  25. ExecStop=-{{ matrix_host_command_docker }} kill matrix-jitsi-web
  26. ExecStop=-{{ matrix_host_command_docker }} rm matrix-jitsi-web
  27. Restart=always
  28. RestartSec=30
  29. SyslogIdentifier=matrix-jitsi-web
  30. [Install]
  31. WantedBy=multi-user.target