blob: 6e03c8b8164bc24d5c747f5e0324bb2939b2e449 [file] [log] [blame]
[Unit]
Description=Ampere Computing LLC force reset host%i
Wants=phosphor-reboot-host@%i.service
Conflicts=obmc-chassis-poweroff@%i.target
OnFailure=obmc-chassis-powerreset@%i.target
[Service]
RemainAfterExit=no
Type=oneshot
ExecStart=/bin/sh -c "sleep 3 && /usr/bin/env ampere_power_util.sh mb force_reset"
SyslogIdentifier=ampere_power_util.sh
[Install]
WantedBy=obmc-host-force-warm-reboot@%i.target