diff options
author | Raúl Porcel <armin76@gentoo.org> | 2011-08-07 13:16:39 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2011-08-07 13:16:39 +0000 |
commit | 66fc1ad1b0e40e150a26dadd7e6f6175b71753de (patch) | |
tree | 1d6638ed40b1c8ba8f30a20ac3c4e05b755480d6 /net-p2p/deluge/files | |
parent | Switch to EAPI 4. Add static libs USE flag. Using --enable/disable-mmx is eno... (diff) | |
download | historical-66fc1ad1b0e40e150a26dadd7e6f6175b71753de.tar.gz historical-66fc1ad1b0e40e150a26dadd7e6f6175b71753de.tar.bz2 historical-66fc1ad1b0e40e150a26dadd7e6f6175b71753de.zip |
Fix init script, bug #353620, by Alan Swanson <swanson at ukfsn dot org> and bug #374755
Package-Manager: portage-2.1.10.7/cvs/Linux ia64
Diffstat (limited to 'net-p2p/deluge/files')
-rw-r--r-- | net-p2p/deluge/files/deluged.init | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net-p2p/deluge/files/deluged.init b/net-p2p/deluge/files/deluged.init index b409a8901f55..269ec4c7aa94 100644 --- a/net-p2p/deluge/files/deluged.init +++ b/net-p2p/deluge/files/deluged.init @@ -1,7 +1,7 @@ #!/sbin/runscript -# Copyright 1999-2010 Gentoo Foundation +# 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.6 2010/10/02 15:36:03 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/deluge/files/deluged.init,v 1.7 2011/08/07 13:16:39 armin76 Exp $ depend() { need net @@ -39,9 +39,9 @@ start() { DELUGED_USER_HOME=${DELUGED_HOME} fi ebegin "Starting Deluged" - start-stop-daemon --start --user "${DELUGED_USER}" \ + 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 -u "${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 -u "${DELUGED_USER}" \ -e HOME="${DELUGED_USER_HOME}" -- ${DELUGEUI_OPTS} eend $? fi |