Permalink
Browse files

mpd service

  • Loading branch information...
1 parent f773da6 commit 84b1678e6dde4657eef7b31f40b4bb8e0ec0cc6b @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"
+ $command --kill
+ eend $?
+}

0 comments on commit 84b1678

Please sign in to comment.