about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xservices/mpd/run3
l---------services/mpd/supervise1
2 files changed, 4 insertions, 0 deletions
diff --git a/services/mpd/run b/services/mpd/run
new file mode 100755
index 0000000..5045420
--- /dev/null
+++ b/services/mpd/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+install -d -m 0755 -o mpd -g mpd /run/mpd
+exec /usr/bin/mpd --no-daemon
diff --git a/services/mpd/supervise b/services/mpd/supervise
new file mode 120000
index 0000000..4fd5eab
--- /dev/null
+++ b/services/mpd/supervise
@@ -0,0 +1 @@
+/run/runit/supervise.mpd
\ No newline at end of file