Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(288)

Side by Side Diff: ui.conf

Issue 3354014: Move post-stop script for ibus daemons from ibus.conf to ui.conf. (Closed) Base URL: ssh://git@chromiumos-git//init.git
Patch Set: review fix Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ibus.conf ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2009 The Chromium OS Authors. All rights reserved. 1 # Copyright (c) 2009 The Chromium OS Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 description "Chrome OS user interface" 5 description "Chrome OS user interface"
6 author "chromium-os-dev@googlegroups.com" 6 author "chromium-os-dev@googlegroups.com"
7 7
8 start on stopping startup 8 start on stopping startup
9 stop on starting halt or starting reboot 9 stop on starting halt or starting reboot
10 10
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 exec /sbin/session_manager_setup.sh >"${UI_LOG_FILE}" 2>&1 71 exec /sbin/session_manager_setup.sh >"${UI_LOG_FILE}" 2>&1
72 end script 72 end script
73 73
74 post-stop script 74 post-stop script
75 75
76 set +e 76 set +e
77 . /sbin/killers 77 . /sbin/killers
78 78
79 # Terminate any processes with files open on the mount point 79 # Terminate any processes with files open on the mount point
80 kill_with_open_files_on /home/chronos/user 80 kill_with_open_files_on /home/chronos/user
81 term_process "^X$" 81
82 # Ensure X, candidate_window for input methods, ibus-daemon, and sub processes
83 # of ibus-daemon are terminated. Note that candidate_window and IBus processes
84 # are not mananged by Upstart. They are launched from Chrome. ".*" is used
85 # since the process name used for matching is limited to 15 characters.
86 term_process "(^X$|candidate_w.*|ibus-.*)"
87
88 # Remove ibus-daemon's PID file.
89 rm -f /home/chronos/.config/ibus/bus/*
82 90
83 # Eventually, this will take a parameter specifying which user's dir to unmount. 91 # Eventually, this will take a parameter specifying which user's dir to unmount.
84 /usr/sbin/cryptohome --action=unmount 92 /usr/sbin/cryptohome --action=unmount
85 93
86 end script 94 end script
OLDNEW
« no previous file with comments | « ibus.conf ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698