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