Initial commit
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
[Unit]
|
||||
Description=Ampere Computing LLC host reboot
|
||||
Conflicts=obmc-chassis-poweron@0.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/sbin/ampere_power_util.sh mb host_reboot_wa
|
||||
SyslogIdentifier=ampere_host_reboot
|
||||
+50
@@ -0,0 +1,50 @@
|
||||
[
|
||||
{
|
||||
"Name": "REBOOT_ACK",
|
||||
"LineName": "host0-reboot-ack-n",
|
||||
"EventMon": "FALLING",
|
||||
"Target": "ampere-host-reboot@0.service",
|
||||
"Continue": true
|
||||
},
|
||||
{
|
||||
"Name": "SHUTDOWN_ACK",
|
||||
"LineName": "host0-shd-ack-n",
|
||||
"EventMon": "FALLING",
|
||||
"Target": "ampere-host-shutdown-ack@0.service",
|
||||
"Continue": true
|
||||
},
|
||||
{
|
||||
"Name": "S0_OVERTEMP",
|
||||
"LineName": "s0-overtemp-n",
|
||||
"EventMon": "FALLING",
|
||||
"Target": "ampere_overtemp@0.service",
|
||||
"Continue": true
|
||||
},
|
||||
{
|
||||
"Name": "S1_OVERTEMP",
|
||||
"LineName": "s1-overtemp-n",
|
||||
"EventMon": "FALLING",
|
||||
"Target": "ampere_overtemp@1.service",
|
||||
"Continue": true
|
||||
},
|
||||
{
|
||||
"Name": "S0_HIGHTEMP",
|
||||
"LineName": "s0-hightemp-n",
|
||||
"EventMon": "BOTH",
|
||||
"Targets": {
|
||||
"FALLING": ["ampere_hightemp_start@0.service"],
|
||||
"RISING": ["ampere_hightemp_stop@0.service"]
|
||||
},
|
||||
"Continue": true
|
||||
},
|
||||
{
|
||||
"Name": "S1_HIGHTEMP",
|
||||
"LineName": "s1-hightemp-n",
|
||||
"EventMon": "BOTH",
|
||||
"Targets": {
|
||||
"FALLING": ["ampere_hightemp_start@1.service"],
|
||||
"RISING": ["ampere_hightemp_stop@1.service"]
|
||||
},
|
||||
"Continue": true
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user