View Single Post
Posts: 207 | Thanked: 967 times | Joined on Apr 2014 @ Madrid, Spain
#485
Originally Posted by incrys View Post
I have done so:
Code:
#!/bin/sh

exist= ps ux |grep /usr/bin/Yappari |grep -v grep |awk '{print $5}'

while [ "$exist" != "/usr/bin/Yappari" ]
do
	/usr/bin/Yappari
done
That won't work, you only check for Yappari's pid once, so even if you kill yappari, exist variable value won't change and Yappari won't be relaunched.

I believe that simply by adding respawn option to /etc/event.d/yappari is enough. Would you mind testing that? Simply edit that file and add a single line containing respawn at the end of the file
__________________
OVI and downloads.maemo.nokia.com mirror
Yappari for Maemo
pyLedger for Maemo


If you want to donate, please read this. If you still want to donate, contact me via private message or email. Thank you.