Brad Bishop | 26373ab | 2019-09-19 17:18:57 -0400 | [diff] [blame^] | 1 | [Unit] |
| 2 | Description=Phosphor GPIO %I Presence |
| 3 | Wants=mapper-wait@-xyz-openbmc_project-inventory.service |
| 4 | After=mapper-wait@-xyz-openbmc_project-inventory.service |
| 5 | ConditionPathExists=/etc/default/obmc/gpio/phosphor-power-supply-%i.conf |
| 6 | |
| 7 | [Service] |
| 8 | EnvironmentFile={envfiledir}/obmc/gpio/phosphor-power-supply-%i.conf |
| 9 | ExecStart=/usr/bin/phosphor-gpio-presence --path=${{DEVPATH}} --inventory=${{INVENTORY}} --key=${{KEY}} --name=${{NAME}} --drivers=${{DRIVERS}} --extra-ifaces=${{EXTRA_IFACES}} |
| 10 | |
| 11 | [Install] |
| 12 | RequiredBy=multi-user.target |