Dhruvaraj Subhashchandran | 9f55736 | 2021-05-12 06:28:20 -0500 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Remove entries of dumps stored in the host memory 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 | Conflicts=obmc-host-startmin@0.target |
Dhruvaraj Subhashchandran | b116bbb | 2022-02-24 06:09:37 -0600 | [diff] [blame] | 8 | ConditionPathExists=!/run/openbmc/mpreboot@0 |
Dhruvaraj Subhashchandran | 9f55736 | 2021-05-12 06:28:20 -0500 | [diff] [blame] | 9 | |
| 10 | [Service] |
| 11 | Type=oneshot |
| 12 | ExecStart=/usr/bin/busctl call xyz.openbmc_project.Dump.Manager /xyz/openbmc_project/dump/resource xyz.openbmc_project.Collection.DeleteAll DeleteAll |
| 13 | ExecStart=/usr/bin/busctl call xyz.openbmc_project.Dump.Manager /xyz/openbmc_project/dump/system xyz.openbmc_project.Collection.DeleteAll DeleteAll |
| 14 | RemainAfterExit=yes |
| 15 | |
| 16 | [Install] |
Andrew Geissler | 27884e6 | 2023-05-09 13:53:50 -0500 | [diff] [blame] | 17 | #WantedBy=obmc-host-stop@0.target |