Brad Bishop | 26373ab | 2019-09-19 17:18:57 -0400 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Phosphor GPIO %I monitor |
Alvin Wang | 58dc277 | 2019-11-06 13:35:13 +0800 | [diff] [blame^] | 3 | Requires=dev-platform_gpio_keys.device |
| 4 | After=dev-platform_gpio_keys.device |
| 5 | Requires=dev-platform_gpio_keys_polled.device |
| 6 | After=dev-platform_gpio_keys_polled.device |
Brad Bishop | 26373ab | 2019-09-19 17:18:57 -0400 | [diff] [blame] | 7 | |
| 8 | [Service] |
| 9 | Restart=no |
| 10 | EnvironmentFile=/etc/default/obmc/gpio/%I |
Brad Bishop | 166ef2d | 2019-11-01 09:50:36 -0400 | [diff] [blame] | 11 | ExecStart=/usr/bin/phosphor-gpio-monitor --path=${DEVPATH} --key=${KEY} --polarity=${POLARITY} --target=${TARGET} ${EXTRA_ARGS} |