radekp / qtmoko

QtExtended, formerly known as Qtopia from TrollTech, discontinued by Nokia
http://qtmoko.org
Other
70 stars 39 forks source link

Dup companion processes started on crash/restart #105

Open ydirson opened 12 years ago

ydirson commented 12 years ago

When qtmoko crashes and gets restarted by qpe.sh, a number of processes get restarted - a killall statement in the spirit of the init.d stop one is probably required inside the qpe.sh loop.

Also note that qdsync and messageserver processes are not even killed by "init.d/qpe stop"

root@neo:~# pstree init-+-bluetoothd |-dbus-daemon |-logger |-7[messageserver] |-5[qdsync] |-sshd---sshd---bash---pstree -startpar root@neo:~# /opt/qtmoko/qpe.sh ... root@neo:~# pstree init-+-bluetoothd |-dbus-daemon |-logger |-5*[mediaserver] |-12*[messageserver] |-9*[qdsync] |-5*[quicklauncher] |-5*[sipagent] |-sshd-+-sshd---bash |-sshd---bash---pstree |-startpar `-5*[telepathyagent]