| [Unit] |
| Description=Send OS startup event to BMC |
| Documentation=man:bmc-device |
| RefuseManualStart=true |
| ConditionFileIsExecutable=/usr/sbin/bmc-device |
|
|
| [Service] |
| Type=oneshot |
| |
| |
| Environment="START_EVENT=0x41 0x04 0x1f 0x01 0x6f assertion 0x01 0x00 0x00" |
| ExecStart=/usr/sbin/bmc-device --platform-event=${START_EVENT} |
|
|
| [Install] |
| WantedBy=basic.target |
| Also=os-shutdown-event.service |