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

Side by Side Diff: cros-disks.conf

Issue 6838011: adds a signal, fixes a crash, adds syslogging, and marshals disks to d-bus (Closed) Base URL: ssh://gitrw.chromium.org:9222/cros-disks.git@master
Patch Set: addresses code review comments 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
« no previous file with comments | « Makefile ('k') | cros-disks.xml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 # cros-disks upstart job 5 # cros-disks upstart job
6 6
7 env CROS_DISKS_LOG_DIR=/var/log/cros-disks
8 env CROS_DISKS_UID=213 7 env CROS_DISKS_UID=213
9 env CROS_DISKS_GID=213 8 env CROS_DISKS_GID=213
10 9
11 start on started dbus 10 start on starting system-services and started dbus
12 stop on starting halt or starting reboot 11 stop on stopping system-services
13 12
14 respawn 13 respawn
15 expect fork 14 expect fork
16 15
17 pre-start script
18 mkdir -p -m 0755 "${CROS_DISKS_LOG_DIR}"
19 chown -R cros-disks:cros-disks "${CROS_DISKS_LOG_DIR}"
20 end script
21
22 exec /sbin/minijail --uid="${CROS_DISKS_UID}" --gid="${CROS_DISKS_GID}" -- /opt/ google/cros-disks/disks 16 exec /sbin/minijail --uid="${CROS_DISKS_UID}" --gid="${CROS_DISKS_GID}" -- /opt/ google/cros-disks/disks
23 17
OLDNEW
« no previous file with comments | « Makefile ('k') | cros-disks.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698