blob: 6e03c8b8164bc24d5c747f5e0324bb2939b2e449 [file] [log] [blame]
ThuBaNguyen2f952142021-07-05 13:32:26 +07001[Unit]
2Description=Ampere Computing LLC force reset host%i
3Wants=phosphor-reboot-host@%i.service
4Conflicts=obmc-chassis-poweroff@%i.target
5OnFailure=obmc-chassis-powerreset@%i.target
6
7[Service]
8RemainAfterExit=no
9Type=oneshot
10ExecStart=/bin/sh -c "sleep 3 && /usr/bin/env ampere_power_util.sh mb force_reset"
11SyslogIdentifier=ampere_power_util.sh
12
13[Install]
14WantedBy=obmc-host-force-warm-reboot@%i.target