use Wants for Entity Manager
We found that restarting EntityManager can lead to restart of the
estoraged service, and leads to unexpected results.
We should use Wants, instead of Requires.
Tested: estoraged no longer restarts when EntityManager restarts.
Change-Id: If6aa7c9d79e5bda59eb1c1752cd05732b5b8809d
Signed-off-by: Nan Zhou <nanzhou@google.com>
Signed-off-by: Nan Zhou <nanzhoumails@gmail.com>
diff --git a/service_files/xyz.openbmc_project.eStoraged.service.in b/service_files/xyz.openbmc_project.eStoraged.service.in
index 7748bb2..20a463b 100644
--- a/service_files/xyz.openbmc_project.eStoraged.service.in
+++ b/service_files/xyz.openbmc_project.eStoraged.service.in
@@ -1,6 +1,6 @@
[Unit]
Description=Storage management daemon for an encrypted storage device
-Requires=xyz.openbmc_project.EntityManager.service
+Wants=xyz.openbmc_project.EntityManager.service
After=xyz.openbmc_project.EntityManager.service
[Service]