diff options
Diffstat (limited to 'meta-openpower/common/recipes-phosphor/debug/openpower-debug-collector/openpower-debug-collector-checkstop@.service')
-rw-r--r-- | meta-openpower/common/recipes-phosphor/debug/openpower-debug-collector/openpower-debug-collector-checkstop@.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meta-openpower/common/recipes-phosphor/debug/openpower-debug-collector/openpower-debug-collector-checkstop@.service b/meta-openpower/common/recipes-phosphor/debug/openpower-debug-collector/openpower-debug-collector-checkstop@.service new file mode 100644 index 0000000000..5e8cf3dcdb --- /dev/null +++ b/meta-openpower/common/recipes-phosphor/debug/openpower-debug-collector/openpower-debug-collector-checkstop@.service @@ -0,0 +1,13 @@ +[Unit] +Description=OpenPOWER debug data collector for host checkstop +Before=obmc-host-quiesce@%i.target + +[Service] +# Adding 10 seconds to allow OCC to collect debug data +# before processing checkstop. OCC has to wait 5 seconds +# for our driver to stop using the SBEFIFO. +ExecStart={base_bindir}/sleep 10 +ExecStart=/usr/bin/env checkstop_app +SyslogIdentifier=checkstop_app +Type=oneshot +Restart=no |