diff options
author | Deepak Kodihalli <dkodihal@in.ibm.com> | 2017-07-25 18:14:28 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-08-01 16:15:03 +0300 |
commit | ba986b88d087366c6925b4f5b32bf2adc847e5c0 (patch) | |
tree | accacf34ea51d2726ffb72067bb73d080f152207 /meta-phosphor/common/recipes-phosphor/state/files | |
parent | 6316a540d0e5f99fbff56fae3ad2e2a6cfe20407 (diff) | |
download | openbmc-ba986b88d087366c6925b4f5b32bf2adc847e5c0.tar.xz |
Add dependency on settings D-Bus objects
Change-Id: I0e7e84f191f6a466b0f84c6d4f490816331f141f
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/state/files')
2 files changed, 4 insertions, 2 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/state/files/phosphor-discover-system-state@.service b/meta-phosphor/common/recipes-phosphor/state/files/phosphor-discover-system-state@.service index 325e8dcc13..7dc09d3cd3 100644 --- a/meta-phosphor/common/recipes-phosphor/state/files/phosphor-discover-system-state@.service +++ b/meta-phosphor/common/recipes-phosphor/state/files/phosphor-discover-system-state@.service @@ -1,7 +1,7 @@ [Unit] Description=Reboot If Enabled -Wants=mapper-wait@-org-openbmc-settings-host%i.service -After=mapper-wait@-org-openbmc-settings-host%i.service +Wants=mapper-wait@-xyz-openbmc_project-control-host0-power_restore_policy.service +After=mapper-wait@-xyz-openbmc_project-control-host0-power_restore_policy.service Wants=mapper-wait@-xyz-openbmc_project-state-host%i.service After=mapper-wait@-xyz-openbmc_project-state-host%i.service Wants=mapper-wait@-xyz-openbmc_project-state-chassis%i.service diff --git a/meta-phosphor/common/recipes-phosphor/state/files/xyz.openbmc_project.State.Host.service b/meta-phosphor/common/recipes-phosphor/state/files/xyz.openbmc_project.State.Host.service index 8fd2ed351a..3b8551b7d1 100644 --- a/meta-phosphor/common/recipes-phosphor/state/files/xyz.openbmc_project.State.Host.service +++ b/meta-phosphor/common/recipes-phosphor/state/files/xyz.openbmc_project.State.Host.service @@ -1,5 +1,7 @@ [Unit] Description=Phosphor Host State Manager +Wants=mapper-wait@-xyz-openbmc_project-control-host0-auto_reboot.service +After=mapper-wait@-xyz-openbmc_project-control-host0-auto_reboot.service Wants=mapper-wait@-org-openbmc-managers-System.service After=mapper-wait@-org-openbmc-managers-System.service Before=mapper-wait@-xyz-openbmc_project-state-host.service |