summaryrefslogtreecommitdiffstats
path: root/meta-phosphor
diff options
context:
space:
mode:
Diffstat (limited to 'meta-phosphor')
-rw-r--r--meta-phosphor/common/recipes-phosphor/mboxd/mboxd.bb2
-rw-r--r--meta-phosphor/common/recipes-phosphor/mboxd/mboxd/mboxd-reload@.service4
2 files changed, 3 insertions, 3 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/mboxd/mboxd.bb b/meta-phosphor/common/recipes-phosphor/mboxd/mboxd.bb
index e51139616..a9785b820 100644
--- a/meta-phosphor/common/recipes-phosphor/mboxd/mboxd.bb
+++ b/meta-phosphor/common/recipes-phosphor/mboxd/mboxd.bb
@@ -33,7 +33,7 @@ do_install_append() {
}
TMPL = "mboxd-reload@.service"
-TGTFMT = "obmc-chassis-stop@{0}.target"
+TGTFMT = "obmc-power-chassis-off@{0}.target"
INSTFMT = "mboxd-reload@{0}.service"
FMT = "../${TMPL}:${TGTFMT}.wants/${INSTFMT}"
diff --git a/meta-phosphor/common/recipes-phosphor/mboxd/mboxd/mboxd-reload@.service b/meta-phosphor/common/recipes-phosphor/mboxd/mboxd/mboxd-reload@.service
index 10182243a..c8c648457 100644
--- a/meta-phosphor/common/recipes-phosphor/mboxd/mboxd/mboxd-reload@.service
+++ b/meta-phosphor/common/recipes-phosphor/mboxd/mboxd/mboxd-reload@.service
@@ -2,7 +2,7 @@
Description=Reload mboxd after power off
Wants=op-wait-power-off@%i.service
After=op-wait-power-off@%i.service
-Conflicts=obmc-chassis-start@%i.target
+Conflicts=obmc-power-chassis-on@%i.target
[Service]
Type=oneshot
@@ -10,4 +10,4 @@ RemainAfterExit=yes
ExecStart=/usr/bin/killall -HUP mboxd
[Install]
-WantedBy=obmc-chassis-stop@%i.target
+WantedBy=obmc-power-chassis-off@%i.target
OpenPOWER on IntegriCloud