blob: 5f806d968f97273f0045aa2f12f3b37805803157 [file] [log] [blame]
Brad Bishop26373ab2019-09-19 17:18:57 -04001[Unit]
2Description=Phosphor GPIO %I Presence
3Wants=mapper-wait@-xyz-openbmc_project-inventory.service
4After=mapper-wait@-xyz-openbmc_project-inventory.service
5ConditionPathExists=/etc/default/obmc/gpio/phosphor-power-supply-%i.conf
6
7[Service]
Brad Bishopa1ac1802019-10-30 09:01:10 -04008EnvironmentFile=/etc/default/obmc/gpio/phosphor-power-supply-%i.conf
Brad Bishop166ef2d2019-11-01 09:50:36 -04009ExecStart=/usr/bin/phosphor-gpio-presence --path=${DEVPATH} --inventory=${INVENTORY} --key=${KEY} --name=${NAME} --drivers=${DRIVERS} --extra-ifaces=${EXTRA_IFACES}
Brad Bishop26373ab2019-09-19 17:18:57 -040010
11[Install]
12RequiredBy=multi-user.target