| [Unit] |
| Description=Phosphor GPIO %I Presence |
| Wants=mapper-wait@-xyz-openbmc_project-inventory.service |
| After=mapper-wait@-xyz-openbmc_project-inventory.service |
| ConditionPathExists=/etc/default/obmc/gpio/phosphor-power-supply-%i.conf |
| |
| [Service] |
| EnvironmentFile=/etc/default/obmc/gpio/phosphor-power-supply-%i.conf |
| ExecStart=/usr/bin/phosphor-gpio-presence --path=${DEVPATH} --inventory=${INVENTORY} --key=${KEY} --name=${NAME} --drivers=${DRIVERS} --extra-ifaces=${EXTRA_IFACES} |
| |
| [Install] |
| RequiredBy=multi-user.target |