summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda XU <heroxbd@gentoo.org>2013-04-01 08:30:47 +0000
committerBenda XU <heroxbd@gentoo.org>2013-04-01 08:30:47 +0000
commit2538a220eb68f62245d48f9e24f3beaeafe5f481 (patch)
tree8aa9cd59a0a95831c29bf10af682852669798440 /net-p2p/deluge/files
parentLink against libavutil (fixes bug #463826). (diff)
downloadhistorical-2538a220eb68f62245d48f9e24f3beaeafe5f481.tar.gz
historical-2538a220eb68f62245d48f9e24f3beaeafe5f481.tar.bz2
historical-2538a220eb68f62245d48f9e24f3beaeafe5f481.zip
improve init and conf files as discussed in bug #437350
Package-Manager: portage-2.1.11.52/cvs/Linux x86_64
Diffstat (limited to 'net-p2p/deluge/files')
-rw-r--r--net-p2p/deluge/files/deluged.conf1
-rw-r--r--net-p2p/deluge/files/deluged.init6
2 files changed, 4 insertions, 3 deletions
diff --git a/net-p2p/deluge/files/deluged.conf b/net-p2p/deluge/files/deluged.conf
index 1d4714c2fe2f..0918f45fc7ff 100644
--- a/net-p2p/deluge/files/deluged.conf
+++ b/net-p2p/deluge/files/deluged.conf
@@ -2,6 +2,7 @@
# Change this to the user you want to run deluged as.
# You may specify a group too, after a colon
DELUGED_USER=""
+# DELUGED_OPTS="-p 58846"
DELUGEUI_START="false"
DELUGEUI_OPTS="-u web"
diff --git a/net-p2p/deluge/files/deluged.init b/net-p2p/deluge/files/deluged.init
index ce002808560a..c3224393b2b4 100644
--- a/net-p2p/deluge/files/deluged.init
+++ b/net-p2p/deluge/files/deluged.init
@@ -1,7 +1,7 @@
#!/sbin/runscript
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/deluge/files/deluged.init,v 1.10 2011/09/21 14:56:39 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/deluge/files/deluged.init,v 1.11 2013/04/01 08:30:44 heroxbd Exp $
depend() {
need net
@@ -41,7 +41,7 @@ start() {
ebegin "Starting Deluged"
start-stop-daemon --start --user "${DELUGED_USER%:*}" \
--name deluged --pidfile /var/run/deluged.pid --background --make-pidfile \
- --exec /usr/bin/deluged -e HOME=${DELUGED_USER_HOME} -- --do-not-daemonize "${DELUGED_OPTS}"
+ --exec /usr/bin/deluged -e HOME="${DELUGED_USER_HOME}" -- --do-not-daemonize "${DELUGED_OPTS}"
eend $?