blob: 15341cbfb3f6b906ea7d3e5dd2927a80b234baca [file] [log] [blame]
[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
StartLimitBurst=10
[Service]
Restart=on-failure
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