Permalink
Browse files

mpd service

  • Loading branch information...
1 parent a60299a commit a5d1dfcc00906eee9c4e3088798090e49733b927 @baverman baverman committed with 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 "Stopping mpd"
+ $command --kill
+ eend $?
+}

0 comments on commit a5d1dfc

Please sign in to comment.