OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 # cros-disks upstart job |
| 6 |
| 7 env CROS_DISKS_LOG_DIR=/var/log/cros-disks |
| 8 env CROS_DISKS_UID=213 |
| 9 env CROS_DISKS_GID=213 |
| 10 |
| 11 start on started dbus |
| 12 stop on starting halt or starting reboot |
| 13 |
| 14 respawn |
| 15 expect fork |
| 16 |
| 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 |
| 23 |
OLD | NEW |