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 |