Dhruvaraj Subhashchandran | d158952 | 2024-06-04 00:38:48 -0500 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Remove system dump entries during poweroff |
| 3 | Wants=obmc-host-stop-pre@0.target |
| 4 | After=obmc-host-stop-pre@0.target |
| 5 | Wants=obmc-host-stopping@0.target |
| 6 | Before=obmc-host-stopping@0.target |
| 7 | After=op-enter-mpreboot@0.service |
| 8 | Conflicts=obmc-host-startmin@0.target |
| 9 | ConditionPathExists=!/run/openbmc/host@0-on |
| 10 | ConditionPathExists=!/run/openbmc/mpreboot@0 |
| 11 | |
| 12 | [Service] |
| 13 | Type=oneshot |
| 14 | ExecStart=/usr/bin/dumpdelete xyz.openbmc_project.Dump.Entry.System |
| 15 | |
| 16 | RemainAfterExit=yes |
| 17 | |
| 18 | [Install] |
| 19 | #WantedBy=obmc-host-stop@0.target |
| 20 | |