summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2011-09-17 18:39:52 +0000
committerRaúl Porcel <armin76@gentoo.org>2011-09-17 18:39:52 +0000
commite19b459ffec14fc5303328574c538f65852c2bc6 (patch)
treedce894f50c02effeb31dbc5be0e871973bd467ad /net-p2p/deluge/files
parent[bump] dev-perl/Any-Moose-0.170.0 (diff)
downloadhistorical-e19b459ffec14fc5303328574c538f65852c2bc6.tar.gz
historical-e19b459ffec14fc5303328574c538f65852c2bc6.tar.bz2
historical-e19b459ffec14fc5303328574c538f65852c2bc6.zip
Proper fix to init script, thanks to jdhore
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 e102bccd23a8..258a3e1262d9 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.8 2011/09/17 18:13:14 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/deluge/files/deluged.init,v 1.9 2011/09/17 18:39:52 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 -c "${DELUGED_USER}" -e HOME=${DELUGED_USER_HOME} -- --do-not-daemonize "${DELUGED_OPTS}"
+ --exec /usr/bin/deluged --chuid "${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 -c "${DELUGED_USER}" \
+ --exec /usr/bin/deluge --chuid "${DELUGED_USER}" \
-e HOME="${DELUGED_USER_HOME}" -- ${DELUGEUI_OPTS}
eend $?
fi