maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   [SCRIPT] Restart wazapp automatically upon crash! (https://talk.maemo.org/showthread.php?t=85258)

ZogG 2012-07-05 22:55

Re: [SCRIPT] Restart wazapp automatically upon crash!
 
Quote:

Originally Posted by herno24 (Post 1232639)
it i'snt showing anything.

than you trying to do it not as root i think. how did you copy file there at first place?

herno24 2012-07-05 23:41

Re: [SCRIPT] Restart wazapp automatically upon crash!
 
Quote:

Originally Posted by ZogG (Post 1232643)
than you trying to do it not as root i think. how did you copy file there at first place?

Using filebox (normal filebox, i couldn't with fileboxRoot).

godofwar424 2012-07-06 01:05

Re: [SCRIPT] Restart wazapp automatically upon crash!
 
Quote:

Originally Posted by herno24 (Post 1232639)
it i'snt showing anything.

Please check the /home/user/ directory to make sure that wazapp.sh is actually in there?

Also are you able to start wazapp by typing this as a NON ROOT user into terminal

Code:

/opt/waxmppplugin/bin/wazapp/wazapp

herno24 2012-07-06 02:08

Re: [SCRIPT] Restart wazapp automatically upon crash!
 
yes, the file is in there and i can open wazzap using terminal.

godofwar424 2012-07-06 02:22

Re: [SCRIPT] Restart wazapp automatically upon crash!
 
Quote:

Originally Posted by herno24 (Post 1232693)
yes, the file is in there and i can open wazzap using terminal.

Try this via terminal and tell me the outome, quit wazapp first.


Code:

cd /home/user/
sh wazapp.sh

This should start wazapp via terminal the same as if you typed in the previous command i gave you.

Let me know the outcome.

eltoffer 2012-07-06 02:26

Re: [SCRIPT] Restart wazapp automatically upon crash!
 
Quote:

Originally Posted by ZogG (Post 1232579)
did you gave the writes for script to have permission for execution?

chmod +x foo-bar.sh

hehehe i think it was all about permissions let me try, but i guess it should works

eltoffer 2012-07-06 02:40

Re: [SCRIPT] Restart wazapp automatically upon crash!
 
Quote:

Originally Posted by ZogG (Post 1232579)
did you gave the writes for script to have permission for execution?

chmod +x foo-bar.sh

noup it neither worked for me :/ any idea?

eltoffer 2012-07-06 03:00

Re: [SCRIPT] Restart wazapp automatically upon crash!
 
please check you desktop file i think this is the problem :/

godofwar424 2012-07-06 10:02

Re: [SCRIPT] Restart wazapp automatically upon crash!
 
Quote:

Originally Posted by eltoffer (Post 1232714)
please check you desktop file i think this is the problem :/

Can you run the script manually?

By opening terminal and typing

Code:

cd /home/user/
sh wazapp.sh


bnwg 2012-07-06 10:32

Re: [SCRIPT] Restart wazapp automatically upon crash!
 
Yes, it can start by running the script in terminal but not by tapping the custom desktop file


All times are GMT. The time now is 20:08.

vBulletin® Version 3.8.8