aboutsummaryrefslogtreecommitdiff
path: root/mpd/profile.d/mpd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mpd/profile.d/mpd.sh')
-rw-r--r--mpd/profile.d/mpd.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/mpd/profile.d/mpd.sh b/mpd/profile.d/mpd.sh
new file mode 100644
index 00000000..e8ab36c6
--- /dev/null
+++ b/mpd/profile.d/mpd.sh
@@ -0,0 +1,2 @@
+# Start an mpd process if one isn't already running
+[ -s "$HOME"/.mpd/pid ] || mpd