blob: a5d3a7008b0363ebf80d5ff1c5908ef0a4f0e992 [file] [log] [blame]
# Copyright 2019 The ChromiumOS Authors
# 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