| # 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. |
| [Service] |
| # Clear existing ExecStart specified in ChromiumOS crash-sender.service. |
| # See also: |
| # https://chromium.googlesource.com/chromiumos/platform2/+/refs/heads/master/crash-reporter/init/crash-sender.service#7 |
| # https://www.freedesktop.org/software/systemd/man/systemd.unit.html#:~:text=remove%20entries%20from%20a%20setting |
| ExecStart= |
| # Upstream crash-sender.service has a random delay up to 6 minutes. |
| # The drop-in file forces immediate uploading by setting max_spread_time=1. |
| # Do not set to 0 because it would trigger UMA metric sending, but COS does |
| # not have metrics daemon installed. |
| ExecStart=/sbin/crash_sender --max_spread_time=1 |