Skip to content

Commit

Permalink
reset all units with failed status
Browse files Browse the repository at this point in the history
  • Loading branch information
Paulchen-Panther authored Jan 24, 2024
1 parent 4953d12 commit e9a006b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/package-scripts/prerm
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ then
# disable user specific symlink
echo "---> Disable service and remove entry"
rm -v /etc/systemd/system/hyperion.service /etc/systemd/system/[email protected] /etc/systemd/system/[email protected] 2> /dev/null
# reset all units with failed status
systemctl -q reset-failed 2> /dev/null

elif [ -e /sbin/initctl ]
then
Expand Down

0 comments on commit e9a006b

Please sign in to comment.