crit-service: enable monitoring of critical services
The final commit in this series to officially enable the monitoring of
the critical services.
Tested:
- Built a full flash image with the needed recipe change to bring in the
new json file and bmc quiesce target. Verified that when a critical
service went into its final failure state, it was detected, error was
logged, dump was created, and BMC state correctly showed Quiesced.
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: Ia67fce32e1c002c7d3b78b2c83fa32c960c41a9c
diff --git a/service_files/phosphor-systemd-target-monitor.service b/service_files/phosphor-systemd-target-monitor.service
index ffd980f..1a9fc06 100644
--- a/service_files/phosphor-systemd-target-monitor.service
+++ b/service_files/phosphor-systemd-target-monitor.service
@@ -4,7 +4,9 @@
[Service]
Restart=always
-ExecStart=/usr/bin/phosphor-systemd-target-monitor -f /etc/phosphor-systemd-target-monitor/phosphor-target-monitor-default.json
+ExecStart=/usr/bin/phosphor-systemd-target-monitor \
+ -f /etc/phosphor-systemd-target-monitor/phosphor-target-monitor-default.json \
+ -s /etc/phosphor-systemd-target-monitor/phosphor-service-monitor-default.json
[Install]
WantedBy=multi-user.target