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

18 строки
1.2 KiB

  1. ---
  2. # Specifies how long to wait between starting systemd services and checking if they're started.
  3. #
  4. # A too low value may lead to a failure, as services may not have enough time to start and potentially fail.
  5. #
  6. # A value higher than 30 seconds (or any multiple of that) may also not work well, because a failing systemd service
  7. # auto-restarts after 30 seconds (`RestartSec=30` in systemd service files).
  8. # Checking if a service is running right after it had potentially restarted in such a way will lead us to
  9. # thinking it's running, while it's merely starting again (and likely to fail again, given that it already did once).
  10. #
  11. # All of the services we manage are also started sequentially, which in itself can take a long time.
  12. # There may be a ~10 second (or even larger) interval between starting the first service and starting the last one.
  13. # This makes it even harder to pick a correct value. Such a 10 second gap and a waiting time of 20 seconds will
  14. # put us right at the "dangerous" 30-second mark.
  15. #
  16. # We can try to measure this gap and adjust our waiting time accordingly, but we currently don't.
  17. matrix_common_after_systemd_service_start_wait_for_timeout_seconds: 15