blob: fe782d60ee37ace4717f2a76b9f979b7ff90c60a [file] [log] [blame]
George Hungd6d41d22020-06-04 19:54:41 +08001[Unit]
2Description=Phosphor GPIO %I Presence
3Wants=mapper-wait@-xyz-openbmc_project-inventory.service
4After=mapper-wait@-xyz-openbmc_project-inventory.service
George Hungfd8041e2020-07-20 21:02:11 +08005ConditionPathExists=/etc/default/obmc/gpio/gpios-%i.conf
George Hungd6d41d22020-06-04 19:54:41 +08006
7[Service]
George Hungfd8041e2020-07-20 21:02:11 +08008EnvironmentFile=/etc/default/obmc/gpio/gpios-%i.conf
George Hungd6d41d22020-06-04 19:54:41 +08009ExecStart=/usr/bin/phosphor-gpio-presence --path=${DEVPATH} --inventory=${INVENTORY} --key=${KEY} --name=${NAME} --drivers=${DRIVERS} --extra-ifaces=${EXTRA_IFACES}
10
11[Install]
12RequiredBy=multi-user.target