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

Side by Side Diff: ibus.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 | « no previous file | ui.conf » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 description "Run ibus-daemon and ibus-memconf"
6 author "chromium-os-dev@googlegroups.com"
7
8 stop on stopping ui
9
10 # ibus-daemon creates a temporary file in /home/chronos,
11 # not in /home/chronos/user.
12 env HOME=/home/chronos
13
14 post-stop script
15
16 set +e
17 . /sbin/killers
18
19 # Ensure ibus-daemon and sub-processes are terminated. Note that these
20 # processes are not mananged by Upstart.
21 term_process "(candidate_w.*|ibus-[dem].*)"
22
23 # Since Chrome OS regenerates /var/lib/dbus/machine-id every time when the OS
24 # starts, ibus-daemon creates a new file in ${HOME}/.config/ibus/bus/ every time
25 # when it starts. It's better to remove them when ibus-daemon is terminated.
26 rm -f ${HOME}/.config/ibus/bus/*
27
28 end script
OLDNEW
« no previous file with comments | « no previous file | ui.conf » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698