blob: 3673c84359b86c01a0bbe19506252e11319d5e04 [file] [log] [blame]
Dhruvaraj Subhashchandran9f557362021-05-12 06:28:20 -05001[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
8
9[Service]
10Type=oneshot
11ExecStart=/usr/bin/busctl call xyz.openbmc_project.Dump.Manager /xyz/openbmc_project/dump/resource xyz.openbmc_project.Collection.DeleteAll DeleteAll
12ExecStart=/usr/bin/busctl call xyz.openbmc_project.Dump.Manager /xyz/openbmc_project/dump/system xyz.openbmc_project.Collection.DeleteAll DeleteAll
13RemainAfterExit=yes
14
15[Install]
16WantedBy=obmc-host-stop@0.target