summaryrefslogtreecommitdiffstats
path: root/presence/tach_sensor.cpp
diff options
context:
space:
mode:
authorMatt Spinler <spinler@us.ibm.com>2017-06-14 15:54:12 -0500
committerPatrick Williams <patrick@stwcx.xyz>2017-06-26 01:36:36 +0000
commita5763ff8f08dd9e3e52cf37d684fbe512658f87e (patch)
treea3ac2fec25d34355c7e6fc9dd8db14310d8382a0 /presence/tach_sensor.cpp
parent0b67b1d558ac6f9c65a3b8b620775097aaa7e99d (diff)
downloadphosphor-fan-presence-a5763ff8f08dd9e3e52cf37d684fbe512658f87e.tar.gz
phosphor-fan-presence-a5763ff8f08dd9e3e52cf37d684fbe512658f87e.zip
fan-monitor: use sd_notify(READY=1)
After the fans have initialized their Functional inventory property, send systemd the READY notification. If the service which runs this application is of type = notify, then systemd will hold off starting any dependent services until this is sent. In our case, we want phosphor-fan-control --control to not be started until this notification is done. Change-Id: Iec87418ce308aa9ca81a47c20039ade7e8fe66c3 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Diffstat (limited to 'presence/tach_sensor.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud