summaryrefslogtreecommitdiff
path: root/meta-quanta/meta-gbs/recipes-phosphor/gpio/phosphor-gpio-monitor/phosphor-gpio-presence@.service.replace
blob: fe782d60ee37ace4717f2a76b9f979b7ff90c60a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[Unit]
Description=Phosphor GPIO %I Presence
Wants=mapper-wait@-xyz-openbmc_project-inventory.service
After=mapper-wait@-xyz-openbmc_project-inventory.service
ConditionPathExists=/etc/default/obmc/gpio/gpios-%i.conf

[Service]
EnvironmentFile=/etc/default/obmc/gpio/gpios-%i.conf
ExecStart=/usr/bin/phosphor-gpio-presence --path=${DEVPATH} --inventory=${INVENTORY} --key=${KEY} --name=${NAME} --drivers=${DRIVERS} --extra-ifaces=${EXTRA_IFACES}

[Install]
RequiredBy=multi-user.target