blob: 4ae60a82c4aa3103ce475decd7e7a8266261d4f1 [file] [log] [blame]
# Copyright (c) 2010 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.
# cryptohomed
#
# Starts the cryptohome daemon, which handles mounting and unmounting users'
# encrypted home directories. Also supports offline login checks.
#
start on (started tcsd and started dbus)
stop on (starting reboot or starting halt)
respawn
expect fork
exec /usr/sbin/cryptohomed --noclose
# Any long-running invocations of the client must first be terminated.
pre-stop exec pkill -TERM cryptohome