diff options
author | Matt Spinler <spinler@us.ibm.com> | 2017-06-14 16:00:47 -0500 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-06-26 03:07:46 +0000 |
commit | 0e8675550b4e7d2bb72778a622cf021fa5244a25 (patch) | |
tree | fc6cbca9227bd1c89d04276b0a2a7cf420207de5 /meta-phosphor/common/recipes-phosphor | |
parent | 8cfce250696afb59973945b9d650eafd4569ca5a (diff) | |
download | talos-openbmc-0e8675550b4e7d2bb72778a622cf021fa5244a25.tar.gz talos-openbmc-0e8675550b4e7d2bb72778a622cf021fa5244a25.zip |
Add type=notify to fan monitor service
Changing the type to notify will cause systemd to wait
to start the phosphor-fan-control service until
phosphor-fan-monitor has notified systemd it is ready.
This is done so that we can ensure the Functional fan inventory
properties have been initialized by fan monitor before starting
fan control.
Resolves openbmc/openbmc#1775
Change-Id: I219fa634a15d7ccac55a514f28e70256b233d059
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor')
-rw-r--r-- | meta-phosphor/common/recipes-phosphor/fans/phosphor-fan/phosphor-fan-monitor@.service | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/fans/phosphor-fan/phosphor-fan-monitor@.service b/meta-phosphor/common/recipes-phosphor/fans/phosphor-fan/phosphor-fan-monitor@.service index 39faf4fe5..3751ebd17 100644 --- a/meta-phosphor/common/recipes-phosphor/fans/phosphor-fan/phosphor-fan-monitor@.service +++ b/meta-phosphor/common/recipes-phosphor/fans/phosphor-fan/phosphor-fan-monitor@.service @@ -7,6 +7,8 @@ Conflicts=obmc-chassis-poweroff@%i.target [Service] Restart=on-failure ExecStart={sbindir}/phosphor-fan-monitor +Type=notify +NotifyAccess=all [Install] RequiredBy=obmc-fan-control-ready@%i.target |