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 |
| 8 | |
| 9 | [Service] |
| 10 | Type=oneshot |
| 11 | ExecStart=/usr/bin/busctl call xyz.openbmc_project.Dump.Manager /xyz/openbmc_project/dump/resource xyz.openbmc_project.Collection.DeleteAll DeleteAll |
| 12 | ExecStart=/usr/bin/busctl call xyz.openbmc_project.Dump.Manager /xyz/openbmc_project/dump/system xyz.openbmc_project.Collection.DeleteAll DeleteAll |
| 13 | RemainAfterExit=yes |
| 14 | |
| 15 | [Install] |
| 16 | WantedBy=obmc-host-stop@0.target |