blob: ee0fb25399a28dd0fa235a53aac7c5e75ae3ca80 [file] [log] [blame]
[Unit]
Description=Preparation to poweroff host%i
Wants=op-cfam-reset.service
Before=op-cfam-reset.service
Wants=obmc-power-stop-pre@%i.target
Before=obmc-power-stop-pre@%i.target
Wants=obmc-host-stopped@%i.target
After=obmc-host-stopped@%i.target
Conflicts=obmc-chassis-poweron@%i.target
[Service]
Type=oneshot
RemainAfterExit=no
ExecStart=/usr/bin/openpower-proc-control prePoweroff
[Install]
WantedBy=obmc-power-stop-pre@%i.target