![]() |
[SCRIPT] Restart wazapp automatically upon crash!
Hi,
I suffer from alot of random Wazapp crashes due to either signal loss or just PSM interfering. For the moment I came up with a solution to missing messages due to a crash. I want to make a script and then have it run every 30 mins or so to check if Wazapp is running and if it isn't restart it. Here is what I have so far but there are errors I can't seem to solve, hoping you guys can help correct this :) EDIT: This is the latest version that works! Code:
#!/bin/sh http://www.savelono.com/linux/bash-a...s-running.html |
Re: [SCRIPT HELP] Process is running or not
Newer Version of the script
Code:
#!/bin/sh |
Re: [SCRIPT HELP] Process is running or not
SOLVED! :D
Big Thanks to ZogG and Doc_Scrutinizer |
Re: [SCRIPT HELP] Process is running or not
Edit the title name to "[SOLVED][SCRIPT HELP] Process is running or not" or whatever. :)
|
Re: [SCRIPT] Process is running or not
End result script works great here are the two scripts created from this idea! :)
INSTRUCTIONS! Connect your N9 to your computer via USB and copy the waxmppplugin.desktop and wazapp.sh file onto your Device. Now unplug the USB and open the Terminal, and type in the following. If any commands give a permissions error, try again as root. Code:
cp /home/user/MyDocs/wazapp.sh /home/user/ Wazapp.sh Original Wazapp.desktop If script 2 is place in /home/user/ and saved as wazapp.sh then using this .desktop file to replace the default one for Wazapp, you can achieve a Wazapp that will restart itself if it errors for any reason :) If you Quit the app yourself, it will not restart until you do it manually :) Scipt 1 (ZogG) Script 2 (Doc_Scrutinizer) |
Re: [SCRIPT] Process is running or not
Quote:
|
Re: [SCRIPT] Restart wazapp automatically upon crash!
ok i used only script 2 and the new desktop file but wazapp wont load, any clue?
|
Re: [SCRIPT] Restart wazapp automatically upon crash!
Quote:
and put the .desktop file in /usr/share/applications/ |
Re: [SCRIPT] Process is running or not
Quote:
Fixed now |
Re: [SCRIPT] Restart wazapp automatically upon crash!
Quote:
|
All times are GMT. The time now is 00:22. |
vBulletin® Version 3.8.8