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 |
| 5 | ConditionPathExists=/etc/default/obmc/gpio/slimsas-cable-%i.conf |
| 6 | StartLimitBurst=10 |
| 7 | |
| 8 | [Service] |
| 9 | Restart=on-failure |
| 10 | EnvironmentFile=/etc/default/obmc/gpio/slimsas-cable-%i.conf |
| 11 | ExecStart=/usr/bin/phosphor-gpio-presence --path=${DEVPATH} --inventory=${INVENTORY} --key=${KEY} --name=${NAME} --drivers=${DRIVERS} --extra-ifaces=${EXTRA_IFACES} |
| 12 | |
| 13 | [Install] |
| 14 | RequiredBy=multi-user.target |