Skip to content
Browse files

mpd service

  • Loading branch information...
1 parent f773da6 commit b58112d3f61ead8ee728cd1c1f94fb42443ab83c @baverman committed
Showing with 16 additions and 0 deletions.
  1. +16 −0 init.d/mpd
View
16 init.d/mpd
@@ -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 b58112d

Please sign in to comment.
Something went wrong with that request. Please try again.