[Lunar-commits] r25383 - in moonbase/trunk/audio/mpd: . init.d

Auke Kok sofar at lunar-linux.org
Mon Aug 6 23:22:12 CEST 2007


Author: sofar
Date: 2007-08-06 23:22:12 +0200 (Mon, 06 Aug 2007)
New Revision: 25383

Added:
   moonbase/trunk/audio/mpd/init.d/
   moonbase/trunk/audio/mpd/init.d/mpd
Log:
Script blew up, death. Stick needle in hart revives.


Added: moonbase/trunk/audio/mpd/init.d/mpd
===================================================================
--- moonbase/trunk/audio/mpd/init.d/mpd	                        (rev 0)
+++ moonbase/trunk/audio/mpd/init.d/mpd	2007-08-06 21:22:12 UTC (rev 25383)
@@ -0,0 +1,16 @@
+#!/bin/bash
+#
+# Startup script for mpd
+#
+# chkconfig: 345 99 10
+# short: musicmpd
+# description: MusicPD daemon
+# processname: mpd
+
+stop() {
+	echo -n "Stopping $SHORT:"
+	mpd --kill &> /dev/null
+	echo -e $RESULT_OK
+}
+
+. /lib/lsb/init-functions $1



More information about the Lunar-commits mailing list