xref: /openbmc/phosphor-gpio-monitor/phosphor-gpio-presence@.service (revision 26373abe6bf30f90f4be723993838eb8caa1bd63)
1[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]
8EnvironmentFile={envfiledir}/obmc/gpio/phosphor-power-supply-%i.conf
9ExecStart=/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
13