George Hung | 09b8cd9 | 2020-06-04 19:54:41 +0800 | [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 |
George Hung | de864a9 | 2020-07-20 21:02:11 +0800 | [diff] [blame] | 5 | ConditionPathExists=/etc/default/obmc/gpio/gpios-%i.conf |
George Hung | 09b8cd9 | 2020-06-04 19:54:41 +0800 | [diff] [blame] | 6 | |
| 7 | [Service] |
George Hung | de864a9 | 2020-07-20 21:02:11 +0800 | [diff] [blame] | 8 | EnvironmentFile=/etc/default/obmc/gpio/gpios-%i.conf |
George Hung | 09b8cd9 | 2020-06-04 19:54:41 +0800 | [diff] [blame] | 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 |