HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

systemctl reset-failed — Reset the "failed" state of one or more units. More information: <https://www.freedesktop.org/softwa

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecommandfailedstatecliresetsystemctl reset-failedone
linux

Problem

How to use the systemctl reset-failed command: Reset the "failed" state of one or more units. More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#reset-failed%20%5BPATTERN%E2%80%A6%5D>.

Solution

systemctl reset-failed — Reset the "failed" state of one or more units. More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#reset-failed%20%5BPATTERN%E2%80%A6%5D>.

Reset the failed state of all units:
systemctl reset-failed


Reset the failed state of a specific unit:
systemctl reset-failed {{unit}}


Reset multiple units at once:
systemctl reset-failed {{unit_1 unit_2 ...}}

Code Snippets

Reset the failed state of all units

systemctl reset-failed

Reset the failed state of a specific unit

systemctl reset-failed {{unit}}

Reset multiple units at once

systemctl reset-failed {{unit_1 unit_2 ...}}

Context

tldr-pages: linux/systemctl reset-failed

Revisions (0)

No revisions yet.