Index: cros-disks.conf |
diff --git a/cros-disks.conf b/cros-disks.conf |
index a04a6dfd13d799447bf05ca83259d6269fa15f06..53b06c104c77a215725dca1df6c4827bcb14671f 100644 |
--- a/cros-disks.conf |
+++ b/cros-disks.conf |
@@ -4,20 +4,14 @@ |
# 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 |
+start on starting system-services and started dbus |
+stop on stopping system-services |
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 |