1*591e5736SPeter Yin[Unit]
2*591e5736SPeter YinDescription=power off host:%i
3*591e5736SPeter YinWants=obmc-host-stop-pre@%i.target
4*591e5736SPeter YinBefore=obmc-host-stop-pre@%i.target
5*591e5736SPeter YinConflicts=obmc-host-start@%i.target
6*591e5736SPeter YinConditionPathExists=!/run/openbmc/host@%i-request
7*591e5736SPeter Yin
8*591e5736SPeter Yin[Service]
9*591e5736SPeter YinRestart=no
10*591e5736SPeter YinType=oneshot
11*591e5736SPeter YinRemainAfterExit=yes
12*591e5736SPeter YinExecStart=/usr/libexec/phosphor-state-manager/host-graceful-poweroff %i
13*591e5736SPeter Yin
14*591e5736SPeter Yin[Install]
15*591e5736SPeter YinWantedBy=obmc-host-shutdown@%i.target
16