# Copyright 2016 The Chromium OS Authors. All rights reserved. | |
# Use of this source code is governed by a BSD-style license that can be | |
# found in the LICENSE file. | |
description "device jail FUSE daemon" | |
author "chromium-os-dev@chromium.org" | |
env DJFS_MOUNTPOINT=/run/djfs | |
pre-start script | |
mkdir -p "${DJFS_MOUNTPOINT}" | |
chown devicejail:devicejail "${DJFS_MOUNTPOINT}" | |
end script | |
# device_jail_fs enters a minijail after mounting the FS. | |
exec /usr/bin/device_jail_fs "${DJFS_MOUNTPOINT}" |