blob: 49b1a4ad912181d9a41a455eeb1a95900ce21eb2 [file] [log] [blame]
Dhruvaraj Subhashchandrand1589522024-06-04 00:38:48 -05001[Unit]
2Description=Remove system dump entries 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
7After=op-enter-mpreboot@0.service
8Conflicts=obmc-host-startmin@0.target
9ConditionPathExists=!/run/openbmc/host@0-on
10ConditionPathExists=!/run/openbmc/mpreboot@0
11
12[Service]
13Type=oneshot
14ExecStart=/usr/bin/dumpdelete xyz.openbmc_project.Dump.Entry.System
15
16RemainAfterExit=yes
17
18[Install]
19#WantedBy=obmc-host-stop@0.target
20