summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Mende <angelos@gentoo.org>2009-02-15 22:15:57 +0000
committerChristoph Mende <angelos@gentoo.org>2009-02-15 22:15:57 +0000
commitb0f1bcd8715707299bc5889d2d3e913366cc4316 (patch)
treee7ee852a68519095a958dfb505192989ab8ec847 /media-sound/mpdscribble
parentFixing bug #259154. Thanks to Theofilos Intzoglou (diff)
downloadgentoo-2-b0f1bcd8715707299bc5889d2d3e913366cc4316.tar.gz
gentoo-2-b0f1bcd8715707299bc5889d2d3e913366cc4316.tar.bz2
gentoo-2-b0f1bcd8715707299bc5889d2d3e913366cc4316.zip
Don't fork twice and fix the pid file in the init script
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/mpdscribble')
-rw-r--r--media-sound/mpdscribble/ChangeLog5
-rw-r--r--media-sound/mpdscribble/files/mpdscribble.rc2
2 files changed, 5 insertions, 2 deletions
diff --git a/media-sound/mpdscribble/ChangeLog b/media-sound/mpdscribble/ChangeLog
index 754408f75f27..507b9ed93fcf 100644
--- a/media-sound/mpdscribble/ChangeLog
+++ b/media-sound/mpdscribble/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-sound/mpdscribble
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mpdscribble/ChangeLog,v 1.23 2009/01/19 00:37:07 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mpdscribble/ChangeLog,v 1.24 2009/02/15 22:15:56 angelos Exp $
+
+ 15 Feb 2009; Christoph Mende <angelos@gentoo.org> files/mpdscribble.rc:
+ Don't fork twice and fix the pid file in the init script
*mpdscribble-0.16 (19 Jan 2009)
diff --git a/media-sound/mpdscribble/files/mpdscribble.rc b/media-sound/mpdscribble/files/mpdscribble.rc
index 41597a12d09d..463d27fec89b 100644
--- a/media-sound/mpdscribble/files/mpdscribble.rc
+++ b/media-sound/mpdscribble/files/mpdscribble.rc
@@ -8,7 +8,7 @@ depend() {
start () {
ebegin "Starting Music Player Daemon Audioscrobbler client"
- start-stop-daemon --start -p /var/run/mpdscribble.pid -b -m --exec /usr/bin/mpdscribble
+ start-stop-daemon --start --exec /usr/bin/mpdscribble -- --pidfile /var/run/mpdscribble.pid
eend $?
}