Permalink
Browse files

mpd service

  • Loading branch information...
1 parent f773da6 commit 42175897ed2f5bee153f76fef12ebc9a830d4b97 @baverman committed Jan 25, 2013
Showing with 16 additions and 0 deletions.
  1. +16 −0 init.d/mpd
View
@@ -0,0 +1,16 @@
+#!/sbin/runscript
+
+command="/usr/bin/mpd"
+description="Music Player Daemon"
+
+depend()
+{
+ need localmount
+ use net
+}
+
+stop() {
+ ebegin "Stoping mpd"
+ mpd --kill
+ eend $?
+}

0 comments on commit 4217589

Please sign in to comment.