Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
openbmc
/
phosphor-debug-collector
/
cdb589774594347de95972652e02bbb58d1297f7
/
.
/
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"