A script to restart amule on exit (crash)?

http://forums.fedoraforum.org –
Since I have not yet the knowledge to write a custom script I ask the following:
can you give me a (sh) script to restart amule on exit (crash)?
This I ask you because amule crashes often on my system.
I already filed out a bug report at the amule website.
--kmarien
(HowTos)

Stories similar to A script to restart amule on exit (crash)?

During the last update of amule a small mistake was introduced which wouldcreate the amule user as a normal user instead of a system user, this wouldresult in that user being shown at the KDM login screen.Users affected are only those who installed or upgraded amule between Feb 24 andFeb 26.

hii install amule from the official package,and set up the amule.conf as the wiki ,and i set Temp/Incoming dir to ~/.aMule/Temp&Incoming.i start the amuled service,it works .i can connnect with amulegui,but the Temp/Incoming dir still is the default /var/lib/amule/.aMule/.i checked the amule.conf,no problem. and the ~/.aMule/Temp&Incoming is in my home dir.