nvmesensor: Service requires EntityManager

This way it exits if EntityManager terminates, avoiding issues with
duplicate configuration when EntityManager restarts. This also makes its
service file consistent with the other dbus-sensors services.

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: I4a088b9d74cb7076d3816780852fbc8763c90cc2
diff --git a/service_files/xyz.openbmc_project.nvmesensor.service b/service_files/xyz.openbmc_project.nvmesensor.service
index a5c8725..e94bf9b 100644
--- a/service_files/xyz.openbmc_project.nvmesensor.service
+++ b/service_files/xyz.openbmc_project.nvmesensor.service
@@ -1,7 +1,8 @@
 [Unit]
 Description=NVMe Sensor
 StopWhenUnneeded=false
-After=xyz.openbmc_project.FruDevice.service
+Requires=xyz.openbmc_project.EntityManager.service
+After=xyz.openbmc_project.EntityManager.service
 
 [Service]
 Restart=always
@@ -9,4 +10,4 @@
 ExecStart=/usr/bin/nvmesensor
 
 [Install]
-WantedBy=multi-user.target
\ No newline at end of file
+WantedBy=multi-user.target