Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(75)

Side by Side Diff: failsafe.conf

Issue 6879062: Add boot-services milestone marker for boot; fixed udev-addon init time. (Closed) Base URL: ssh://gitrw.chromium.org:9222/init.git@master
Patch Set: Address jrbarnette review feedback. Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2011 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 guarantee certain jobs start" 5 description "Job to guarantee certain jobs start"
6 author "chromium-os-dev@chromium.org" 6 author "chromium-os-dev@chromium.org"
7 7
8 # This job is used as a failsafe to guarantee certain jobs start 8 # This job is used as a failsafe to guarantee certain jobs start
9 # even if we fail to get a login screen. 9 # even if we fail to get a login screen.
10 # 10 #
11 # To improve boot performance, a variety of important jobs are 11 # To improve boot performance, a variety of important jobs are
12 # deliberately delayed until after the Chrome login screen is 12 # deliberately delayed until after the Chrome login screen is
13 # presented. By design, the services aren't needed right away, but 13 # presented. By design, the services aren't needed right away, but
14 # in test and debug environments, if Chrome fails to come up, 14 # in test and debug environments, if Chrome fails to come up,
15 # important facilities needed to debug the failure (such as 15 # important facilities needed to debug the failure (such as
16 # alternate VT consoles and ssh access) could fail to start. This 16 # alternate VT consoles and ssh access) could fail to start. This
17 # job provides the event that those critical jobs should depend on 17 # job provides the event that those critical jobs should depend on
18 # for starting. 18 # for starting.
19 # 19 #
20 # Standard usage: 20 # Standard usage:
21 # start on starting failsafe 21 # start on starting failsafe
22 # stop on stopping failsafe 22 # stop on stopping failsafe
23 # Jobs that normally terminate in a bounded time (i.e. don't use 23 # Jobs that normally terminate in a bounded time (i.e. don't use
24 # 'respawn') should omit the 'stop on' stanza. 24 # 'respawn') should omit the 'stop on' stanza.
25 # 25 #
26 # Note that this job can start on either of two events, both of 26 # Note that this job can start on either of two events, both of
27 # which are expected to occur in a normal boot. To avoid firing 27 # which are expected to occur in a normal boot. To avoid firing
28 # twice, this job starts once and doesn't terminate until system 28 # twice, this job starts once and doesn't terminate until system
29 # shutdown. 29 # shutdown.
30 #
31 # Also note that since system-services and the failsafe-delay
32 # wait until boot-services have been started, jobs that start on
33 # failsafe can assume that boot-services are started.
30 34
31 start on starting system-services or stopped failsafe-delay 35 start on starting system-services or stopped failsafe-delay
32 stop on starting halt or starting reboot 36 stop on starting halt or starting reboot
33 37
34 # Main process deliberately omitted 38 # Main process deliberately omitted
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698