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/target_files/meson.build b/target_files/meson.build
index 67a23d8..3523127 100644
--- a/target_files/meson.build
+++ b/target_files/meson.build
@@ -1,4 +1,5 @@
unit_files = [
+ 'obmc-bmc-service-quiesce@.target',
'obmc-chassis-hard-poweroff@.target',
'obmc-chassis-powered-off@.target',
'obmc-chassis-poweroff@.target',
diff --git a/target_files/obmc-bmc-service-quiesce@.target b/target_files/obmc-bmc-service-quiesce@.target
new file mode 100644
index 0000000..23d588b
--- /dev/null
+++ b/target_files/obmc-bmc-service-quiesce@.target
@@ -0,0 +1,3 @@
+[Unit]
+Description=BMC Quiesce Target
+RefuseManualStop=yes