Files

14 lines
404 B
Desktop File
Raw Permalink Normal View History

2026-04-23 17:07:55 +08:00
[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