blob: c5336b114acdf82c17df59a6eaeea20b2fc632f0 [file] [log] [blame]
# Copyright 2019 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.
description "Initialize crash reporting for early boot crashes"
author "chromium-os-dev@chromium.org"
start on stopping pre-startup
task
# Do not let us be killed as we are critical to the system being set up
# correctly to handle crash reports.
oom score never
# Setup the early crash core pattern. Log for errors.
exec /sbin/crash_reporter --early --log_to_stderr --init \
>>/run/crash-reporter-early-init.log 2>&1