Chanh Nguyen | a688a04 | 2022-04-06 14:02:55 +0700 | [diff] [blame] | 1 | [Unit] |
2 | Description=Ampere Computing LLC Overtemp event handling | ||||
3 | |||||
4 | [Service] | ||||
5 | Restart=no | ||||
6 | ExecStart=/bin/sh -c "touch /tmp/fault_overtemp && obmcutil chassisoff" | ||||
7 | ExecStartPost=/bin/sh -c "ampere_add_redfishevent.sh OpenBMC.0.1.CPUThermalTrip.Critical %i && sleep 10 && rm /tmp/fault_overtemp" |