xref: /openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/failedservices (revision e110762f865fe1d1b2dee65b86099d885a2af547)
1#!/bin/bash
2#
3# config: 123 10
4# @brief: Collect failed services information.
5#
6
7# shellcheck source=tools/dreport.d/include.d/functions
8. "$DREPORT_INCLUDE"/functions
9
10desc="failed services"
11file_name="failed-services.log"
12command="systemctl --failed"
13
14add_cmd_output "$command" "$file_name" "$desc"
15