blob: 153893d406672bb00e1574299e9c5d2cb827d9ba [file] [log] [blame] [edit]
# Copyright 2011 The ChromiumOS Authors
# 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
# The task should complete quickly. Never necessary to be killed.
oom score never
script
# Indicate that we're no longer logged in
rm -f /run/state/logged-in # croslint: disable
end script