Gentoo Archives: gentoo-commits

From: "Christoph Mende (angelos)" <angelos@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/mpd/files: mpd.init
Date: Sun, 30 Mar 2014 07:45:31
Message-Id: 20140330074526.70C8720057@flycatcher.gentoo.org
1 angelos 14/03/30 07:45:26
2
3 Modified: mpd.init
4 Log:
5 Add --wait to init script to catch errors on startup
6
7 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 84F20B43)
8
9 Revision Changes Path
10 1.4 media-sound/mpd/files/mpd.init
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/mpd/files/mpd.init?rev=1.4&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/mpd/files/mpd.init?rev=1.4&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/mpd/files/mpd.init?r1=1.3&r2=1.4
15
16 Index: mpd.init
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-sound/mpd/files/mpd.init,v
19 retrieving revision 1.3
20 retrieving revision 1.4
21 diff -u -r1.3 -r1.4
22 --- mpd.init 2 Jul 2013 14:24:32 -0000 1.3
23 +++ mpd.init 30 Mar 2014 07:45:26 -0000 1.4
24 @@ -1,7 +1,7 @@
25 #!/sbin/runscript
26 -# Copyright 1999-2013 Gentoo Foundation
27 +# Copyright 1999-2014 Gentoo Foundation
28 # Distributed under the terms of the GNU General Public License v2
29 -# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/files/mpd.init,v 1.3 2013/07/02 14:24:32 jer Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/files/mpd.init,v 1.4 2014/03/30 07:45:26 angelos Exp $
31
32 depend() {
33 need localmount
34 @@ -21,7 +21,7 @@
35 checkconfig || return 1
36
37 ebegin "Starting Music Player Daemon"
38 - start-stop-daemon --start --quiet --background --exec /usr/bin/mpd --pidfile /var/run/mpd.pid --make-pidfile -- --no-daemon /etc/mpd.conf 2>/dev/null
39 + start-stop-daemon --start --quiet --background --wait 50 --exec /usr/bin/mpd --pidfile /var/run/mpd.pid --make-pidfile -- --no-daemon /etc/mpd.conf 2>/dev/null
40 eend $?
41 }