Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 description "Job to trigger boot services" | |
| 6 author "chromium-os-dev@chromium.org" | |
| 7 | |
| 8 # This job is used as a milestone marker for jobs that are run at | |
| 9 # system boot right after chromeos_startup. | |
| 10 # | |
| 11 # Specifically, tasks that should start right after chromeos_startup should | |
| 12 # use syntax like: | |
| 13 # start on starting boot-services | |
| 14 # | |
| 15 # Tasks that want to wait for all boot services to be finished should use | |
|
jrbarnette
2011/04/20 00:04:39
s/finished/ready/
diandersAtChromium
2011/04/20 16:10:02
Done.
| |
| 16 # syntax like: | |
| 17 # start on started boot-services | |
| 18 # | |
| 19 # TODO(dianders): Should anyone use a 'stop on' for boot-services? | |
|
jrbarnette
2011/04/20 00:04:39
Yes, the syslog, dbus, and udev jobs should all sa
diandersAtChromium
2011/04/20 16:10:02
Done.
| |
| 20 | |
| 21 # In startup.conf we see "telinit 2", which kicks us off. | |
| 22 start on runlevel 2 | |
|
jrbarnette
2011/04/20 00:04:39
Add here the standard 'stop on' boilerplate:
sto
diandersAtChromium
2011/04/20 16:10:02
Done.
| |
| 23 | |
| 24 | |
| 25 # We purposely omit the main process. upstart marks us running | |
| 26 # on the first event, and ignores all subsequent events until we | |
| 27 # stop. | |
| OLD | NEW |