aMule Forum
English => Feature requests => Topic started by: fsaction on April 08, 2006, 01:50:51 PM
-
Hi,
it would be nice to run amuleweb as a daemon like amuled with the -f option.
-
Well, that's an easy one: Use the option "Enable=1" in the [WebServer] section of amule.conf and voila, the daemon starts up the webserver as a daemon as well. No strings attached.
-
But I'm running 2 instances auf amuleweb.
And with the option in amule.conf I can only run one
-
You running 2 instances of webserver for same core ? I fail to see how that can be usefull, while being technically possible. Out of curiosity - can you explain why do you need it ?
-
firts, Sorry for my very poor english
i run amuled with the initd script provided by this ebuild (http://www.engendro.sytes.net/gentoo/net-p2p/amule-cvs/amule-cvs-3.ebuild) from this thread (http://forum.amule.org/thread.php?threadid=5732) in Gentoo Linux
why, there are an amuleweb initd script in this ebuild? I don't understand the meaning of this script
because when de the amuled start, automatic webserver start also.
please
thanks
-
One Instance I use to administrate amuled there I use a modified "chicane" template and the second instance is a template which I parse with php to integrate it in a user-based webpage so users only see their downloads and i can use quotas over a mysql-db and some other features.
I wrote this thread because I have some problems with screen and start-stop-daemon.
With screen amuleweb crashes after I access with a web-browser.
And when I use start-stop-deamon the amuleweb process use 100% cpu.
-
With screen amuleweb crashes after I access with a web-browser.
And when I use start-stop-deamon the amuleweb process use 100% cpu.
Those looks like real issues. Please post version of amule you use and complete setup. I may have to take a look on templates you use.
-
aMule Version is 2.1.1
What do you mean with "complete setup" - the content of amule.conf?
When I use the chicane template it's the same problem.
And I'm running amule in a vserver because I have 2 internet connections, so aMule uses one and on the other I can run other services.
Meanwhile I have found out that when I not detach the screen session it runs fine.
But I don't know how to make a script which starts a screen session and run amuleweb without detaching.