blob: 3673c84359b86c01a0bbe19506252e11319d5e04 [file] [log] [blame]
[Unit]
Description=Remove entries of dumps stored in the host memory during poweroff
Wants=obmc-host-stop-pre@0.target
After=obmc-host-stop-pre@0.target
Wants=obmc-host-stopping@0.target
Before=obmc-host-stopping@0.target
Conflicts=obmc-host-startmin@0.target
[Service]
Type=oneshot
ExecStart=/usr/bin/busctl call xyz.openbmc_project.Dump.Manager /xyz/openbmc_project/dump/resource xyz.openbmc_project.Collection.DeleteAll DeleteAll
ExecStart=/usr/bin/busctl call xyz.openbmc_project.Dump.Manager /xyz/openbmc_project/dump/system xyz.openbmc_project.Collection.DeleteAll DeleteAll
RemainAfterExit=yes
[Install]
WantedBy=obmc-host-stop@0.target