Correct the dependency for state related service files

The dependency on the legacy system service is obsolete and so it
is removed. The dependency on the mapper is added.

Change-Id: I6afd2020f73829df7c5a53342087a3051939928d
Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
diff --git a/common/recipes-phosphor/state/files/xyz.openbmc_project.State.Chassis.service b/common/recipes-phosphor/state/files/xyz.openbmc_project.State.Chassis.service
index 9a467eb..aaaa9e0 100644
--- a/common/recipes-phosphor/state/files/xyz.openbmc_project.State.Chassis.service
+++ b/common/recipes-phosphor/state/files/xyz.openbmc_project.State.Chassis.service
@@ -1,8 +1,9 @@
 [Unit]
 Description=Phosphor Chassis State Manager
-Wants=mapper-wait@-org-openbmc-managers-System.service
-After=mapper-wait@-org-openbmc-managers-System.service
 Before=mapper-wait@-xyz-openbmc_project-state-chassis.service
+Wants=obmc-mapper.target
+After=obmc-mapper.target
+
 
 [Service]
 ExecStart=/usr/bin/env phosphor-chassis-state-manager