1[Unit]
2Description=Remove entries of dumps stored in the host memory during poweroff
3Wants=obmc-host-stop-pre@0.target
4After=obmc-host-stop-pre@0.target
5Wants=obmc-host-stopping@0.target
6Before=obmc-host-stopping@0.target
7Conflicts=obmc-host-startmin@0.target
8ConditionPathExists=!/run/openbmc/mpreboot@0
9
10[Service]
11Type=oneshot
12ExecStart=/usr/bin/busctl call xyz.openbmc_project.Dump.Manager /xyz/openbmc_project/dump/resource xyz.openbmc_project.Collection.DeleteAll  DeleteAll
13ExecStart=/usr/bin/busctl call xyz.openbmc_project.Dump.Manager /xyz/openbmc_project/dump/system xyz.openbmc_project.Collection.DeleteAll  DeleteAll
14RemainAfterExit=yes
15
16[Install]
17WantedBy=obmc-host-stop@0.target
18