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 20:14

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

Originally Posted by eltoffer (Post 1232574)
yup yup but no load :(

did you gave the rights for script to have permission for execution?

chmod +x foo-bar.sh

herno24 2012-07-05 20:57

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

Same here, how do i give that permission?

ZogG 2012-07-05 21:06

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

Originally Posted by herno24 (Post 1232592)
Same here, how do i give that permission?

i think i posted command in above reply...

herno24 2012-07-05 21:09

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

Originally Posted by ZogG (Post 1232596)
i think i posted command in above reply...

Ok, i'm not an expert, but i want to learn, so, how do i use that command?.

godofwar424 2012-07-05 21:35

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

Originally Posted by eltoffer (Post 1232574)
yup yup but no load :(

Crap my bad, I forgot a major thing!

do the following command in terminal :)

Code:

chmod +x /home/user/wazapp.sh
You may have to do this as root.

Fixed this in the original post

ZogG beat me to it :p

herno24 2012-07-05 21:55

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

devel-su
pass: rootme
chmod +x /home/user/wazapp.sh

it says "Operation not permitted"

godofwar424 2012-07-05 21:56

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

Originally Posted by herno24 (Post 1232624)
Code:

devel-su
pass: rootme
chmod +x /home/user/wazapp.sh

it says "Operation not permitted"

Have you tried without being root?

ZogG 2012-07-05 22:10

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

Originally Posted by herno24 (Post 1232624)
Code:

devel-su
pass: rootme
chmod +x /home/user/wazapp.sh

it says "Operation not permitted"

are you sure you are root?

than what does this command shows?

lsof |grep 'wazapp.sh'

omar451451 2012-07-05 22:34

Re: [SCRIPT] Restart wazapp automatically upon crash!
 
I hope you've suggested this for wazapp's upcoming version !!! Don't wanna mess up with terminal so just hope to see this addition with the public release of the next version !!!

herno24 2012-07-05 22:35

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

Originally Posted by ZogG (Post 1232630)
are you sure you are root?

than what does this command shows?

lsof |grep 'wazapp.sh'

it i'snt showing anything.


All times are GMT. The time now is 21:07.

vBulletin® Version 3.8.8