19f557368SDhruvaraj Subhashchandran[Unit]
29f557368SDhruvaraj SubhashchandranDescription=Remove entries of dumps stored in the host memory during poweroff
39f557368SDhruvaraj SubhashchandranWants=obmc-host-stop-pre@0.target
49f557368SDhruvaraj SubhashchandranAfter=obmc-host-stop-pre@0.target
59f557368SDhruvaraj SubhashchandranWants=obmc-host-stopping@0.target
69f557368SDhruvaraj SubhashchandranBefore=obmc-host-stopping@0.target
79f557368SDhruvaraj SubhashchandranConflicts=obmc-host-startmin@0.target
8*b116bbb0SDhruvaraj SubhashchandranConditionPathExists=!/run/openbmc/mpreboot@0
99f557368SDhruvaraj Subhashchandran
109f557368SDhruvaraj Subhashchandran[Service]
119f557368SDhruvaraj SubhashchandranType=oneshot
129f557368SDhruvaraj SubhashchandranExecStart=/usr/bin/busctl call xyz.openbmc_project.Dump.Manager /xyz/openbmc_project/dump/resource xyz.openbmc_project.Collection.DeleteAll  DeleteAll
139f557368SDhruvaraj SubhashchandranExecStart=/usr/bin/busctl call xyz.openbmc_project.Dump.Manager /xyz/openbmc_project/dump/system xyz.openbmc_project.Collection.DeleteAll  DeleteAll
149f557368SDhruvaraj SubhashchandranRemainAfterExit=yes
159f557368SDhruvaraj Subhashchandran
169f557368SDhruvaraj Subhashchandran[Install]
179f557368SDhruvaraj SubhashchandranWantedBy=obmc-host-stop@0.target
18