summaryrefslogtreecommitdiff
path: root/scripts/start-mpd
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/start-mpd')
-rwxr-xr-xscripts/start-mpd2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/start-mpd b/scripts/start-mpd
index 33f6ad5..7b4f9a2 100755
--- a/scripts/start-mpd
+++ b/scripts/start-mpd
@@ -1,4 +1,4 @@
#!/bin/sh
-[ ! -s ~/.config/mpd/pid ] && mpd .config/mpd/mpd.conf
+pidof mpd || mpd .config/mpd/mpd.conf
pidof mpdscribble || mpdscribble --conf .config/mpdscribble/mpdscribble.conf
pidof mpd-rpc || mpd-rpc --no-idle --fork