Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(127)

Unified Diff: src/platform/init/crash-reporter.conf

Issue 1702008: Add crash_reporter functionality (Closed)
Patch Set: add set -e Created 10 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/platform/init/chromeos_shutdown ('k') | src/scripts/build_tests.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/init/crash-reporter.conf
diff --git a/src/platform/init/crash-reporter.conf b/src/platform/init/crash-reporter.conf
new file mode 100644
index 0000000000000000000000000000000000000000..146bf2545fb6fbb93df331fbd6c9f02332803b96
--- /dev/null
+++ b/src/platform/init/crash-reporter.conf
@@ -0,0 +1,22 @@
+# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# chromeos-crash
+#
+# when dump-boot-stats has run, starts chromeos crash handler.
+
+start on stopped dump-boot-stats
+
+pre-start script
+ # TODO(kmixter): Once crosbug.com/3030 is fixed, we can
+ # remove this little section.
+ STARTED_FILE=/tmp/crash-reporting-started
+ [ -e $STARTED_FILE ] && exit 1
+ touch $STARTED_FILE
+end script
+
+# This is run-once rather than a service.
+task
+
+exec /sbin/crash_reporter --init
« no previous file with comments | « src/platform/init/chromeos_shutdown ('k') | src/scripts/build_tests.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698