commit | dcc1a0af63257dfee545ddd8bcc0bc41ab3f2e18 | [log] [tgz] |
---|---|---|
author | Andrew Jeffery <andrew@aj.id.au> | Mon Feb 06 13:07:38 2017 +1030 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Feb 15 03:48:36 2017 +0000 |
tree | cfc2c03b8de7ebe442af5fe9962fecefd137ad7f | |
parent | bb52a2d1c69a7e207c1eb22b91348df9971e7dc7 [diff] |
mboxd: Update service file to require device dependencies In line with Andrew Geissler's proposal for managing unit/target failures[1], update mboxd.service to require the device dependencies. Tested with a Zaius image under QEMU (-M romulus-bmc). [1] https://lists.ozlabs.org/pipermail/openbmc/2017-February/006370.html Change-Id: I1cc6c64871917ab0d51917833909a1795b6662f2 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
diff --git a/common/recipes-phosphor/mboxd/mboxd/mboxd.service b/common/recipes-phosphor/mboxd/mboxd/mboxd.service index 0d37a48..dda2532 100644 --- a/common/recipes-phosphor/mboxd/mboxd/mboxd.service +++ b/common/recipes-phosphor/mboxd/mboxd/mboxd.service
@@ -1,8 +1,8 @@ [Unit] Description=Phosphor MBOX Daemon -Wants=dev-aspeed\x2dlpc\x2dctrl.device +BindsTo=dev-aspeed\x2dlpc\x2dctrl.device After=dev-aspeed\x2dlpc\x2dctrl.device -Wants=dev-aspeed\x2dmbox.device +BindsTo=dev-aspeed\x2dmbox.device After=dev-aspeed\x2dmbox.device