blob: f96367e9b9653e779e2a0fbcd7cf77a3c2f6b311 [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.
description "Mark that the user has logged out"
author "chromium-os-dev@chromium.org"
# Use 'start on stopping' and 'task' to hold up restarting the
# session manager until we're done with marking the state change.
start on stopping ui
task
script
# Indicate that we're no longer logged in
rm -f /var/run/state/logged-in
rm -f /var/run/state/windowmanager/initial-chrome-window-mapped
# Perform shill logout tasks
shill_logout_user
end script