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

Unified Diff: boot-services.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: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | dbus.conf » ('j') | system-services.conf » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: boot-services.conf
diff --git a/boot-services.conf b/boot-services.conf
new file mode 100644
index 0000000000000000000000000000000000000000..1e840d87cc8ae3b92c753b2021ede0ca7de16545
--- /dev/null
+++ b/boot-services.conf
@@ -0,0 +1,27 @@
+# Copyright (c) 2010 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 "Job to trigger boot services"
+author "chromium-os-dev@chromium.org"
+
+# This job is used as a milestone marker for jobs that are run at
+# system boot right after chromeos_startup.
+#
+# Specifically, tasks that should start right after chromeos_startup should
+# use syntax like:
+# start on starting boot-services
+#
+# 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.
+# syntax like:
+# start on started boot-services
+#
+# 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.
+
+# In startup.conf we see "telinit 2", which kicks us off.
+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.
+
+
+# We purposely omit the main process. upstart marks us running
+# on the first event, and ignores all subsequent events until we
+# stop.
« no previous file with comments | « no previous file | dbus.conf » ('j') | system-services.conf » ('J')

Powered by Google App Engine
This is Rietveld 408576698