meta-quanta: gbs: fix mapper wait quit immediately

Using mapper wait to ExecStartPre would quit immdiately
while the D-Bus path is not active yet, so change to
add to "After=" to make sure it would wait until the
D-Bus path work

Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I86029f4eba6b34b5c313ec9cc1578ef173d5c2aa
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
index eae38b2..ec8fd73 100644
--- 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
@@ -2,11 +2,11 @@
 Description=Virtual sensors
 Wants=obmc-mapper.target
 After=obmc-mapper.target
+After=mapper-wait@-xyz-openbmc_project-sensors-temperature-inlet.service
+After=mapper-wait@-xyz-openbmc_project-sensors-temperature-outlet_0.service
+After=mapper-wait@-xyz-openbmc_project-sensors-temperature-outlet_1.service
 
 [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
 ExecStartPost=/usr/bin/setMaxMinValue.sh
 Type=dbus