Gunnar Mills | c238b65 | 2017-07-10 15:49:43 -0500 | [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={envfiledir}/obmc/gpio/phosphor-power-supply-%i.conf |
| 6 | |
| 7 | [Service] |
| 8 | EnvironmentFile={envfiledir}/obmc/gpio/phosphor-power-supply-%i.conf |
| 9 | ExecStart={sbindir}/phosphor-gpio-presence --path=${{PATH}} --inventory=${{INVENTORY}} --key=${{KEY}} --name=${{NAME}} |
| 10 | |
| 11 | [Install] |
| 12 | RequiredBy={SYSTEMD_DEFAULT_TARGET} |