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

Unified Diff: cros-disks.conf

Issue 6824032: First batch of cros-disk changes (Closed) Base URL: ssh://gitrw.chromium.org:9222/cros-disks.git@master
Patch Set: adds set_ and removes j's 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 | « common.mk ('k') | cros-disks.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cros-disks.conf
diff --git a/cros-disks.conf b/cros-disks.conf
new file mode 100644
index 0000000000000000000000000000000000000000..a04a6dfd13d799447bf05ca83259d6269fa15f06
--- /dev/null
+++ b/cros-disks.conf
@@ -0,0 +1,23 @@
+# Copyright (c) 2011 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.
+
+# cros-disks upstart job
+
+env CROS_DISKS_LOG_DIR=/var/log/cros-disks
+env CROS_DISKS_UID=213
+env CROS_DISKS_GID=213
+
+start on started dbus
+stop on starting halt or starting reboot
+
+respawn
+expect fork
+
+pre-start script
+ mkdir -p -m 0755 "${CROS_DISKS_LOG_DIR}"
+ chown -R cros-disks:cros-disks "${CROS_DISKS_LOG_DIR}"
+end script
+
+exec /sbin/minijail --uid="${CROS_DISKS_UID}" --gid="${CROS_DISKS_GID}" -- /opt/google/cros-disks/disks
+
« no previous file with comments | « common.mk ('k') | cros-disks.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698