aMule Forum
English => aMule Help => Topic started by: yozhhh on September 18, 2006, 01:35:02 PM
-
A wish to start amuled and then amuleweb in a script. It works fine with "sleep 20" between "amuled" and "amuleweb" if I don't use ipfilter.dat. With ipfilter.dat, 20 seconds are not more enough (this is an old PC, linux without X), and amuleweb exits after 10 sec with:
"CECSocket error: The timeout for this operation expired"
Sometimes amuleweb does not exit but also does not respond :(
Question: how can I determine in my script that amuled is not only started (ps -A|grep amuled is therefore not a solution) but has also succesfully loaded ipfilter.dat and is ready for the connection to amuleweb?
-
Why don't you let amuled start amuleweb? All you have to do is to enable the webserver in the amule.conf-file.
[WebServer]
Enabled=1
(supposed that everything is already configured, see wiki for configuring help)
-
Thnak you, it works :)