| # Copyright (c) 2013 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 "Runs a daemon which collects and reports kernel log anomalies" |
| author "chromium-os-dev@chromium.org" |
| |
| start on started system-services |
| stop on stopping system-services |
| respawn |
| |
| # Allow us to be killed as we are not critical to the system. If we have a |
| # leak, better to crash & restart than to OOM-panic the system. |
| oom score -100 |
| # Let the daemon crash if it grows too much. "as" is "address space" (vm |
| # size). We expect a typical VM size of about 30MiB for the daemon, so set |
| # the ceiling to 5 times that for safety. |
| limit as 150000000 unlimited |
| |
| exec anomaly_collector |