blob: a3a09fbd104bb582f9b838eff0d3418507a7b312 [file] [edit]
# Copyright 2012 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
description "create validated caches of lockbox protected files"
author "chromium-os-dev@chromium.org"
# Runs before boot-services so services can consume install
# attributes.
start on starting boot-services
oom score -100
env LOCKBOX_CACHE_DIR=/run/lockbox
env LOCKBOX_NVRAM_FILE=/tmp/lockbox.nvram
env INSTALL_ATTRS_CACHE=/run/lockbox/install_attributes.pb
env INSTALL_ATTRS_FILE=/home/.shadow/install_attributes.pb
pre-start exec /usr/share/cros/init/lockbox-cache.sh