Searched hist:"3695 ac30c0a8f2f87bf01a1c966ecd08b40d970d" (Results 1 – 3 of 3) sorted by relevance
/openbmc/phosphor-fan-presence/control/json/ |
H A D | event.hpp | diff 3695ac30c0a8f2f87bf01a1c966ecd08b40d970d Wed Oct 06 14:55:30 CDT 2021 Matthew Barth <msbarth@us.ibm.com> control: Correct reloading groups.json thru SIGHUP
When providing a SIGHUP, the groups.json was not getting reloaded due to being a pure static method. This changes that method to load the groups.json if not already loaded and requested to load the groups.json which is the default.
All of available groups are now saved off during a SIGHUP and restored if the groups.json or events.json fail to be reloaded. If there are no failures in reloading neither the groups.json nor the events.json, the newly loaded groups.json is used instead.
Change-Id: I44870e796530fdb325e0821429a203969ae05018 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
|
H A D | event.cpp | diff 3695ac30c0a8f2f87bf01a1c966ecd08b40d970d Wed Oct 06 14:55:30 CDT 2021 Matthew Barth <msbarth@us.ibm.com> control: Correct reloading groups.json thru SIGHUP
When providing a SIGHUP, the groups.json was not getting reloaded due to being a pure static method. This changes that method to load the groups.json if not already loaded and requested to load the groups.json which is the default.
All of available groups are now saved off during a SIGHUP and restored if the groups.json or events.json fail to be reloaded. If there are no failures in reloading neither the groups.json nor the events.json, the newly loaded groups.json is used instead.
Change-Id: I44870e796530fdb325e0821429a203969ae05018 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
|
H A D | manager.cpp | diff 3695ac30c0a8f2f87bf01a1c966ecd08b40d970d Wed Oct 06 14:55:30 CDT 2021 Matthew Barth <msbarth@us.ibm.com> control: Correct reloading groups.json thru SIGHUP
When providing a SIGHUP, the groups.json was not getting reloaded due to being a pure static method. This changes that method to load the groups.json if not already loaded and requested to load the groups.json which is the default.
All of available groups are now saved off during a SIGHUP and restored if the groups.json or events.json fail to be reloaded. If there are no failures in reloading neither the groups.json nor the events.json, the newly loaded groups.json is used instead.
Change-Id: I44870e796530fdb325e0821429a203969ae05018 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
|