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