diff options
Diffstat (limited to 'meta-phosphor/recipes-phosphor/chassis/obmc-pcie-detect/pcie-slot-detect@.service')
-rw-r--r-- | meta-phosphor/recipes-phosphor/chassis/obmc-pcie-detect/pcie-slot-detect@.service | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-phosphor/chassis/obmc-pcie-detect/pcie-slot-detect@.service b/meta-phosphor/recipes-phosphor/chassis/obmc-pcie-detect/pcie-slot-detect@.service new file mode 100644 index 000000000..4545524d3 --- /dev/null +++ b/meta-phosphor/recipes-phosphor/chassis/obmc-pcie-detect/pcie-slot-detect@.service @@ -0,0 +1,14 @@ +[Unit] +Description=PCIE Slot Presence Detection For Chassis%i +Wants=obmc-power-on@%i.target +After=obmc-power-on@%i.target +Conflicts=obmc-host-stop@%i.target + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=/usr/bin/env pcie_slot_present.exe +SyslogIdentifier=pcie_slot_present.exe + +[Install] +WantedBy=obmc-host-startmin@%i.target |