Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
openbmc
/
phosphor-debug-collector
/
622272764bb745f26f0afd8a9738f404f6739458
/
.
/
tools
/
dreport.d
/
plugins.d
/
failedservices
blob: 2d0113e07dc65dde48c0aad82468dfeb40e7573c [
file
] [
log
] [
blame
]
#!/bin/bash
#
# config: 123 10
# @brief: Collect failed services information.
#
.
$DREPORT_INCLUDE
/
functions
desc
=
"failed services"
file_name
=
"failed-services.log"
command
=
"systemctl --failed"
add_cmd_output
"$command"
"$file_name"
"$desc"