| OLD | NEW |
| (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 |
| OLD | NEW |