Chromium Code Reviews| Index: cros-disks.conf |
| diff --git a/cros-disks.conf b/cros-disks.conf |
| index a04a6dfd13d799447bf05ca83259d6269fa15f06..8a10895441e86a30eaf22846943361c45193c221 100644 |
| --- a/cros-disks.conf |
| +++ b/cros-disks.conf |
| @@ -4,7 +4,7 @@ |
| # cros-disks upstart job |
| -env CROS_DISKS_LOG_DIR=/var/log/cros-disks |
| +env CROS_DISKS_LOG_FILE=/var/log/crosdisks.log |
|
Ben Chan
2011/04/13 15:11:47
How about naming it as cros-disks.log for consiste
|
| env CROS_DISKS_UID=213 |
| env CROS_DISKS_GID=213 |
| @@ -15,8 +15,9 @@ respawn |
| expect fork |
| pre-start script |
| - mkdir -p -m 0755 "${CROS_DISKS_LOG_DIR}" |
| - chown -R cros-disks:cros-disks "${CROS_DISKS_LOG_DIR}" |
| + touch "${CROS_DISKS_LOG_FILE}" |
| + chown -R cros-disks:cros-disks "${CROS_DISKS_LOG_FILE}" |
| + chmod 0755 "${CROS_DISKS_LOG_FILE}" |
|
Ben Chan
2011/04/13 15:11:47
Should the log file permission be 0644?
And shoul
|
| end script |
| exec /sbin/minijail --uid="${CROS_DISKS_UID}" --gid="${CROS_DISKS_GID}" -- /opt/google/cros-disks/disks |