blob: d8cc0e5c32cd2e3d17f854cbbd72d0fa359c1c86 [file] [log] [blame] [edit]
# Copyright 2018 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
description "Mount esdfs directories"
author "chromium-os-dev@chromium.org"
# This job's lifetime is managed via arc-sdcard.conf.
# We are mounting esdfs outside boot-continue to not have to wait for
# installd.
# The following environment variables are passed from arc-sdcard
# and are imported from the event that starts the job.
import CHROMEOS_USER
import CONTAINER_PID
# Use 'never' since terminating this job fails ARC to start.
oom score never
exec /usr/sbin/arc-setup --mode=mount-sdcard "--log_tag=${UPSTART_JOB}"