aboutsummaryrefslogtreecommitdiffstats
path: root/mpd
diff options
context:
space:
mode:
authorSquibid <me@zacharyscheiman.com>2023-11-16 20:34:06 -0500
committerSquibid <me@zacharyscheiman.com>2023-11-16 20:34:06 -0500
commit7b717a552fa98c1aeb896b47c0fa92d97ab5df7e (patch)
tree71ef5250e426ef40df215db542e68450c130a209 /mpd
parent629e5c0b0cf84ca59f4e80919ca44f3863f58184 (diff)
downloadrunit-services-7b717a552fa98c1aeb896b47c0fa92d97ab5df7e.tar.gz
runit-services-7b717a552fa98c1aeb896b47c0fa92d97ab5df7e.tar.bz2
runit-services-7b717a552fa98c1aeb896b47c0fa92d97ab5df7e.zip
add mpd service
Diffstat (limited to 'mpd')
-rwxr-xr-xmpd/run4
1 files changed, 4 insertions, 0 deletions
diff --git a/mpd/run b/mpd/run
new file mode 100755
index 0000000..92a0433
--- /dev/null
+++ b/mpd/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+# make sure pipewire is running
+sv check "$HOME/.local/share/service/pipewire" > /dev/null 2>&1 || exit 1
+exec mpd --no-daemon --stderr