crit-service: start bmc quiesce target on fail
This target will be monitored by the BMC state target and used to tell
external clients when the BMC is in a bad state due to a critical
service failing
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: Ibf0460bef9b3ac2a96e8a294e6de122463530713
diff --git a/systemd_target_signal.hpp b/systemd_target_signal.hpp
index 27e0334..755c817 100644
--- a/systemd_target_signal.hpp
+++ b/systemd_target_signal.hpp
@@ -75,6 +75,9 @@
/** @brief Call phosphor-dump-manager to create BMC dump */
void createBmcDump();
+ /** @brief Start BMC Quiesce Target to indicate critical service failure */
+ void startBmcQuiesceTarget();
+
/** @brief Call phosphor-logging to create error
*
* @param[in] error - The error to log