summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Kryczek <mkay@gentoo.org>2006-01-13 13:56:48 +0000
committerMarcin Kryczek <mkay@gentoo.org>2006-01-13 13:56:48 +0000
commit3e4e1b59bd4a3709ffd6d5daaf341163963c41f6 (patch)
treea44e31d4d44c3375ca9c296c1a44ea033f450f35 /net-p2p/amule/files
parentStable on amd64, bug 117737. (diff)
downloadhistorical-3e4e1b59bd4a3709ffd6d5daaf341163963c41f6.tar.gz
historical-3e4e1b59bd4a3709ffd6d5daaf341163963c41f6.tar.bz2
historical-3e4e1b59bd4a3709ffd6d5daaf341163963c41f6.zip
Fixes for bug #106826 (added password for local connection to webserwer) and #118268 (changed parameters)
Package-Manager: portage-2.1_pre3-r1
Diffstat (limited to 'net-p2p/amule/files')
-rw-r--r--net-p2p/amule/files/amuleweb.confd7
-rw-r--r--net-p2p/amule/files/amuleweb.initd5
2 files changed, 8 insertions, 4 deletions
diff --git a/net-p2p/amule/files/amuleweb.confd b/net-p2p/amule/files/amuleweb.confd
index 4bb37b3dd949..56e81a808505 100644
--- a/net-p2p/amule/files/amuleweb.confd
+++ b/net-p2p/amule/files/amuleweb.confd
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/amule/files/amuleweb.confd,v 1.1 2005/07/10 15:02:47 chainsaw Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/amule/files/amuleweb.confd,v 1.2 2006/01/13 13:56:48 mkay Exp $
# owner of amuleweb process (must be existing)
AMULEUSER="p2p"
@@ -15,9 +15,14 @@ LOG=/var/log/amuleweb.log
# connection one)
AMULEPWD="secret"
+# Full (admin) access password for webserver
+WEBPWD="secret2"
+
# aMule host (this could be a remote host or usually localhost)
AMULEHOST="localhost"
# aMule external connection port
AMULEPORT="4712"
+
+
diff --git a/net-p2p/amule/files/amuleweb.initd b/net-p2p/amule/files/amuleweb.initd
index 3d5961bafd6e..70cd119925c9 100644
--- a/net-p2p/amule/files/amuleweb.initd
+++ b/net-p2p/amule/files/amuleweb.initd
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/amule/files/amuleweb.initd,v 1.4 2005/09/20 09:40:20 mkay Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/amule/files/amuleweb.initd,v 1.5 2006/01/13 13:56:48 mkay Exp $
depend() {
need net
@@ -21,9 +21,8 @@ start() {
rm /var/run/amuleweb.pid
- OPTIONS="-rh ${AMULEHOST} -p ${AMULEPORT} -pw ${AMULEPWD}"
+ OPTIONS="-h ${AMULEHOST} -p ${AMULEPORT} -P ${AMULEPWD} -A ${WEBPWD}"
- einfo $OPTIONS
ebegin "Starting aMule WebServer"
env HOME="${AMULEHOME}" start-stop-daemon --start \
--quiet -b \