phosphor-dump-monitor- Fix failure for not finding core dump path

phosphot-dump-monitor adds watch on systemd core dump path to
detect any new core files created to initiate a dump. On some
systems systemd core dump package is not pulled, due to this
phosphor-dump monitor service logs error and tries retry for 3 times.

Modified to start phosphor-dump-monitor service only when the
systed core dump path exists.

Tried to add Requires on systedm core dump service but as it is
a template version going with path approach.

Tested:
1) Removed systemd dump folder and restarted dump-monitor service
and ensured that there are no errors logged

Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
Change-Id: Ia2bd8adeab70648c183daa71a1f1ca06066aa10a
1 file changed
tree: 76ebca51587a3c785138bee7583affe512beb3ce
  1. aspeed-layer/
  2. classes/
  3. conf/
  4. nuvoton-layer/
  5. raspberrypi/
  6. recipes-connectivity/
  7. recipes-core/
  8. recipes-devtools/
  9. recipes-extended/
  10. recipes-graphics/
  11. recipes-phosphor/
  12. recipes-protocols/
  13. recipes-support/
  14. recipes-textproc/
  15. recipes-x86/
  16. COPYING.apache-2.0
  17. COPYING.MIT
  18. LICENSE
  19. MAINTAINERS
  20. README.md
  21. 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.