George Hung | 48e9a64 | 2021-01-21 07:40:27 +0800 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Virtual sensors |
| 3 | Wants=obmc-mapper.target |
| 4 | After=obmc-mapper.target |
| 5 | |
| 6 | [Service] |
| 7 | ExecStartPre=mapper wait /xyz/openbmc_project/sensors/temperature/inlet |
| 8 | ExecStartPre=mapper wait /xyz/openbmc_project/sensors/temperature/outlet_0 |
| 9 | ExecStartPre=mapper wait /xyz/openbmc_project/sensors/temperature/outlet_1 |
| 10 | ExecStart=/usr/bin/virtual-sensor |
George Hung | 2f2806f | 2021-03-17 21:08:15 +0800 | [diff] [blame^] | 11 | ExecStartPost=/usr/bin/setMaxMinValue.sh |
George Hung | 48e9a64 | 2021-01-21 07:40:27 +0800 | [diff] [blame] | 12 | Type=dbus |
| 13 | BusName=xyz.openbmc_project.VirtualSensor |
| 14 | SyslogIdentifier=phosphor-virtual-sensor |
| 15 | |
| 16 | [Install] |
| 17 | WantedBy=multi-user.target |