HEX
Server: Apache
System: Linux msm5694.mjhst.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: camjab_ssh (1000)
PHP: 5.3.29
Disabled: NONE
Upload Files
File: //lib/systemd/system/os-shutdown-event.service
[Unit]
Description=Send OS shutdown event to BMC
Documentation=man:bmc-device
RefuseManualStart=true
DefaultDependencies=no
Before=shutdown.target
ConditionFileIsExecutable=/usr/sbin/bmc-device

[Service]
Type=oneshot
# IPMI v2.0 rev 1.1 Table 42-3.
#    OS Stop / Shutdown: 0x20; "OS Graceful Shutdown": 0x03
Environment="STOP_EVENT=0x41 0x04 0x20 0x01 0x6f assertion 0x03 0x00 0x00"
ExecStart=/usr/sbin/bmc-device --platform-event=${STOP_EVENT}

[Install]
WantedBy=shutdown.target