blob: f8c9135a167140763f84ba0eadefe81d846a364d [file] [log] [blame]
Michael Tritz18781172017-09-21 00:41:15 -05001[Unit]
Adriana Kobylake95cbd22018-03-01 15:26:01 -06002Description=Clean up UBI volumes unattached to a BMC version after DeleteAll
Michael Tritz18781172017-09-21 00:41:15 -05003
4[Service]
5Type=oneshot
6RemainAfterExit=no
Adriana Kobylake95cbd22018-03-01 15:26:01 -06007ExecStartPre=/usr/bin/env obmc-flash-bmc createenvbackup
Michael Tritz18781172017-09-21 00:41:15 -05008ExecStart=/usr/bin/env obmc-flash-bmc ubicleanup
9SyslogIdentifier=obmc-flash-bmc