Originally posted by lfroen
From cron ?! Are you (re-)starting every hour ?
"amule" is gui application - it intended to be started on local desktop machine. In case you running it remotely witn X forwarding
[...]
No, no, I am not trying to do any fancy X forwarding stuff.
Since v2.1 was released, I have been having problems with a catastrophic memory leak, which I first posted about here back in January, which I have discussed at length with others, and which, as far as I can tell, is still unresolved.
As a workaround, I want to kill amule every 24 hours and restart it. To do this, I have the simplest possible shell script which I call once a day from cron:
killall amule
sleep 15
/usr/local/bin/amule --only-chuck-norris-would-stop-me &
Alas, this script generates the DISPLAY error message mentioned above.
No remote control/port forwarding/daemons/ etc etc etc. I just want to automatically restart amule GUI on my desktop box. c'est tout.