| OLD | NEW |
| 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 # Copyright (c) 2011 The Chromium OS Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 description "Job to trigger standard system services" | 5 description "Job to trigger standard system services" |
| 6 author "chromium-os-dev@chromium.org" | 6 author "chromium-os-dev@chromium.org" |
| 7 | 7 |
| 8 # This job is used as a milestone marker for other jobs that want to | 8 # This job is used as a milestone marker for other jobs that want to |
| 9 # start once at system boot, but don't want to delay bringing up | 9 # start once at system boot, but don't want to delay bringing up |
| 10 # the login screen. Jobs depending on this job should provide a | 10 # the login screen. Jobs depending on this job should provide a |
| 11 # service that is not needed at login and not specific to a user | 11 # service that is not needed at login and not specific to a user |
| 12 # session, but that should start once at boot time, possibly staying | 12 # session, but that should start once at boot time, possibly staying |
| 13 # up for the life of the system. | 13 # up for the life of the system. |
| 14 # | 14 # |
| 15 # NOTE: jobs depending on this job can assume that boot-services |
| 16 # have been started. |
| 17 # |
| 15 # Standard usage: | 18 # Standard usage: |
| 16 # start on starting system-services | 19 # start on starting system-services |
| 17 # stop on stopping system-services | 20 # stop on stopping system-services |
| 18 # Jobs that normally terminate in a bounded time (i.e. don't use | 21 # Jobs that normally terminate in a bounded time (i.e. don't use |
| 19 # 'respawn') should omit the 'stop on' stanza. | 22 # 'respawn') should omit the 'stop on' stanza. |
| 20 | 23 |
| 21 start on stopped boot-complete | 24 start on stopped boot-complete and started boot-services |
| 22 stop on starting halt or starting reboot | 25 stop on starting halt or starting reboot |
| 23 | 26 |
| 24 # We only want to start once, but 'stopped boot-complete' happens | 27 # We only want to start once, but 'stopped boot-complete' happens |
| 25 # every time Chrome displays the login screen. To avoid firing | 28 # every time Chrome displays the login screen. To avoid firing |
| 26 # every time, we omit the main process: upstart marks us running | 29 # every time, we omit the main process: upstart marks us running |
| 27 # on the first event, and ignores all subsequent events until we | 30 # on the first event, and ignores all subsequent events until we |
| 28 # stop. | 31 # stop. |
| OLD | NEW |