blob: dea398085c5c0d596080c4371538741b03b0c699 [file] [log] [blame]
# Copyright (c) 2011 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.
start on start-user-session
stop on stopping ui
respawn
normal exit 0
normal exit 1
env USER_ID=1000
env PKCS11_GID=208
env HOME=/home/chronos/user
# CHROMEOS_USER is exported by pkcs11-ready
exec minijail --uid=$USER_ID --gid=$PKCS11_GID -- \
/usr/sbin/entdwife.sh -c start \
--extension_path=${HOME}/Extensions \
--utility="/etc/entd/policy-utils.js" \
--username=${CHROMEOS_USER}