xref: /openbmc/openpower-debug-collector/dump/dist/clear_resourcedumps_poweroff.service (revision d158952df8cadbd4197cc9759cd94291490f15ac)
1[Unit]
2Description=Remove resource 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
7Conflicts=obmc-host-startmin@0.target
8ConditionPathExists=!/run/openbmc/host@0-on
9
10[Service]
11Type=oneshot
12ExecStart=/usr/bin/dumpdelete com.ibm.Dump.Entry.Resource
13
14RemainAfterExit=yes
15
16[Install]
17#WantedBy=obmc-host-stop@0.target
18
19