Increase StartLimitIntervalSec to 240s

The DefaultTimeoutStartSec is 90s. If a service is hitting
this timeout repeatedly then the StartLimitIntervalSec needs
to be set in a way to handle this worse case scenario so
that the service which is timing out does not continuously
get restarted.

This means it needs to be set to:
    StartLimitBurst*DefaultTimeoutStartSec +
    StartLimitBurst*<worst case processing time> (30s)
which currently would be 2x90 + 2x30

Ref: systemd-system.conf

Tested: Verified that if 90s timeout is hit in service that
it is no longer restarted after 2 attempts.

Resolves openbmc/openbmc#3379

Change-Id: I12eca7bc23f54d77b4bf0327e44eb042359aaeae
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
1 file changed
tree: 775988d710e0ac67b0ab9ce5bcd8c13f5e7ebf9d
  1. aspeed-layer/
  2. classes/
  3. conf/
  4. nuvoton-layer/
  5. recipes-connectivity/
  6. recipes-core/
  7. recipes-devtools/
  8. recipes-extended/
  9. recipes-phosphor/
  10. recipes-support/
  11. recipes-textproc/
  12. COPYING.apache-2.0
  13. COPYING.MIT
  14. LICENSE
  15. MAINTAINERS
  16. README.md
  17. recipes.txt
README.md

OpenBMC

meta-phosphor is the OpenBMC layer. This layer should be included for all OpenBMC systems. The OpenBMC layer contains content which is shared between all OpenBMC systems.