summaryrefslogtreecommitdiff
path: root/meta-quanta/meta-gbs/recipes-phosphor/gpio/phosphor-gpio-monitor/phosphor-gpio-presence@.service.replace
blob: 3ab99702f051dd7f1608601341d1266dcda1e96b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[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/slimsas-cable-%i.conf
StartLimitBurst=10

[Service]
Restart=on-failure
EnvironmentFile=/etc/default/obmc/gpio/slimsas-cable-%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