summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2011-09-17 18:13:14 +0000
committerRaúl Porcel <armin76@gentoo.org>2011-09-17 18:13:14 +0000
commit8e9080aba2c383239ccb04002055871a45c5c5c3 (patch)
tree2390a7cfda42795ff23917a5d2f33f604797c15f /net-p2p/deluge/files
parentVersion bump, remove old (diff)
downloadhistorical-8e9080aba2c383239ccb04002055871a45c5c5c3.tar.gz
historical-8e9080aba2c383239ccb04002055871a45c5c5c3.tar.bz2
historical-8e9080aba2c383239ccb04002055871a45c5c5c3.zip
Fix init script, bug #380713
Package-Manager: portage-2.1.10.11/cvs/Linux ia64
Diffstat (limited to 'net-p2p/deluge/files')
-rw-r--r--net-p2p/deluge/files/deluged.init6
1 files changed, 3 insertions, 3 deletions
diff --git a/net-p2p/deluge/files/deluged.init b/net-p2p/deluge/files/deluged.init
index 269ec4c7aa94..e102bccd23a8 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
# 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.7 2011/08/07 13:16:39 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/deluge/files/deluged.init,v 1.8 2011/09/17 18:13:14 armin76 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 -u "${DELUGED_USER}" -e HOME=${DELUGED_USER_HOME} -- --do-not-daemonize "${DELUGED_OPTS}"
+ --exec /usr/bin/deluged -c "${DELUGED_USER}" -e HOME=${DELUGED_USER_HOME} -- --do-not-daemonize "${DELUGED_OPTS}"
eend $?
@@ -49,7 +49,7 @@ start() {
ebegin "Starting Deluge"
start-stop-daemon --start --background --pidfile \
/var/run/deluge.pid --make-pidfile \
- --exec /usr/bin/deluge -u "${DELUGED_USER}" \
+ --exec /usr/bin/deluge -c "${DELUGED_USER}" \
-e HOME="${DELUGED_USER_HOME}" -- ${DELUGEUI_OPTS}
eend $?
fi