angelos     14/03/30 07:45:26

  Modified:             mpd.init
  Log:
  Add --wait to init script to catch errors on startup
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
84F20B43)

Revision  Changes    Path
1.4                  media-sound/mpd/files/mpd.init

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/mpd/files/mpd.init?rev=1.4&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/mpd/files/mpd.init?rev=1.4&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/mpd/files/mpd.init?r1=1.3&r2=1.4

Index: mpd.init
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-sound/mpd/files/mpd.init,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- mpd.init    2 Jul 2013 14:24:32 -0000       1.3
+++ mpd.init    30 Mar 2014 07:45:26 -0000      1.4
@@ -1,7 +1,7 @@
 #!/sbin/runscript
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/files/mpd.init,v 1.3 
2013/07/02 14:24:32 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/files/mpd.init,v 1.4 
2014/03/30 07:45:26 angelos Exp $
 
 depend() {
        need localmount
@@ -21,7 +21,7 @@
        checkconfig || return 1
 
        ebegin "Starting Music Player Daemon"
-       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
+       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
        eend $?
 }
 




Reply via email to