1[Unit]
2Description=Phosphor GPIO %I Presence
3Wants=mapper-wait@-xyz-openbmc_project-inventory.service
4After=mapper-wait@-xyz-openbmc_project-inventory.service
5ConditionPathExists={envfiledir}/obmc/gpio/gpio-%i.conf
6
7[Service]
8EnvironmentFile={envfiledir}/obmc/gpio/gpio-%i.conf
9ExecStart=/usr/bin/phosphor-gpio-presence --path=${{DEVPATH}} --inventory=${{INVENTORY}} --key=${{KEY}} --name=${{NAME}}
10SyslogIdentifier=phosphor-gpio-presence
11
12[Install]
13RequiredBy=multi-user.target
14