| # Copyright 2018 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 "Helper job for shill to emit upstart events" |
| author "chromium-os-dev@chromium.org" |
| |
| # This job is started by shill via D-Bus. |
| task |
| |
| # EVENT_NAME is the name of the upstart event to raise. |
| import EVENT_NAME |
| |
| # Sacrifice before OOM panic. Default score for platform services that |
| # can recover. |
| oom score -100 |
| |
| exec /bin/sh /usr/share/cros/init/shill-event.sh |