diff options
author | Raúl Porcel <armin76@gentoo.org> | 2011-09-21 14:56:39 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2011-09-21 14:56:39 +0000 |
commit | 9533b7a3d81cfa3f098af55666057f3a183856bd (patch) | |
tree | 385d59fd9044980c9364e61750c8c0b12dbce856 /net-p2p/deluge/files | |
parent | remove deprecated --oknodo argument from init script (bug #374719) (diff) | |
download | historical-9533b7a3d81cfa3f098af55666057f3a183856bd.tar.gz historical-9533b7a3d81cfa3f098af55666057f3a183856bd.tar.bz2 historical-9533b7a3d81cfa3f098af55666057f3a183856bd.zip |
Fix init script, again
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.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 258a3e1262d9..ce002808560a 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.9 2011/09/17 18:39:52 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/deluge/files/deluged.init,v 1.10 2011/09/21 14:56:39 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 --chuid "${DELUGED_USER}" -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 $? @@ -49,7 +49,7 @@ start() { ebegin "Starting Deluge" start-stop-daemon --start --background --pidfile \ /var/run/deluge.pid --make-pidfile \ - --exec /usr/bin/deluge --chuid "${DELUGED_USER}" \ + --exec /usr/bin/deluge --user "${DELUGED_USER%:*}" \ -e HOME="${DELUGED_USER_HOME}" -- ${DELUGEUI_OPTS} eend $? fi @@ -57,14 +57,14 @@ start() { stop() { ebegin "Stopping Deluged" - start-stop-daemon --stop --user "${DELUGED_USER}" \ + start-stop-daemon --stop --user "${DELUGED_USER%:*}" \ --name deluged --pidfile /var/run/deluged.pid eend $? if [ "${DELUGEUI_START}" = "true" ] ; then ebegin "Stopping Deluge" - start-stop-daemon --stop --user "${DELUGED_USER}" \ + start-stop-daemon --stop --user "${DELUGED_USER%:*}" \ --name deluge --pidfile /var/run/deluge.pid eend $? fi |