aboutsummaryrefslogtreecommitdiff
path: root/repos/extra/mpd/run
diff options
context:
space:
mode:
Diffstat (limited to 'repos/extra/mpd/run')
-rwxr-xr-xrepos/extra/mpd/run5
1 files changed, 5 insertions, 0 deletions
diff --git a/repos/extra/mpd/run b/repos/extra/mpd/run
new file mode 100755
index 00000000..bc002d4f
--- /dev/null
+++ b/repos/extra/mpd/run
@@ -0,0 +1,5 @@
+#!/bin/sh
+exec 2>&1
+[ -r conf ] && . ./conf
+install -d -m 0755 -o mpd -g mpd /run/mpd
+exec mpd --no-daemon ${OPTS:-}