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