blob: acb6af748f40d222a42e024dd2db1b3d94f1417e [file] [log] [blame]
Gunnar Millsc238b652017-07-10 15:49:43 -05001[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/phosphor-power-supply-%i.conf
6
7[Service]
8EnvironmentFile={envfiledir}/obmc/gpio/phosphor-power-supply-%i.conf
Matt Spinler139d75f2017-09-05 09:09:47 -05009ExecStart=/usr/bin/env phosphor-gpio-presence --path=${{DEVPATH}} --inventory=${{INVENTORY}} --key=${{KEY}} --name=${{NAME}} --drivers=${{DRIVERS}}
Michael Tritzfbd81be2017-08-15 14:07:23 -050010SyslogIdentifier=phosphor-gpio-presence
Gunnar Millsc238b652017-07-10 15:49:43 -050011
12[Install]
Patrick Ventured607cfb2019-04-04 12:15:22 -070013RequiredBy=multi-user.target