diff options
Diffstat (limited to 'meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-virtual-sensor/phosphor-virtual-sensor.service.replace')
-rw-r--r-- | meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-virtual-sensor/phosphor-virtual-sensor.service.replace | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-virtual-sensor/phosphor-virtual-sensor.service.replace b/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-virtual-sensor/phosphor-virtual-sensor.service.replace new file mode 100644 index 000000000..8068d3bd2 --- /dev/null +++ b/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-virtual-sensor/phosphor-virtual-sensor.service.replace @@ -0,0 +1,16 @@ +[Unit] +Description=Virtual sensors +Wants=obmc-mapper.target +After=obmc-mapper.target + +[Service] +ExecStartPre=mapper wait /xyz/openbmc_project/sensors/temperature/inlet +ExecStartPre=mapper wait /xyz/openbmc_project/sensors/temperature/outlet_0 +ExecStartPre=mapper wait /xyz/openbmc_project/sensors/temperature/outlet_1 +ExecStart=/usr/bin/virtual-sensor +Type=dbus +BusName=xyz.openbmc_project.VirtualSensor +SyslogIdentifier=phosphor-virtual-sensor + +[Install] +WantedBy=multi-user.target |