diff options
Diffstat (limited to 'scripts/start-mpd')
-rwxr-xr-x | scripts/start-mpd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/start-mpd b/scripts/start-mpd index aef21c2..33f6ad5 100755 --- a/scripts/start-mpd +++ b/scripts/start-mpd @@ -1,4 +1,4 @@ #!/bin/sh [ ! -s ~/.config/mpd/pid ] && mpd .config/mpd/mpd.conf -[ -s ~/.config/mpd/pid ] && mpdscribble --conf .config/mpdscribble/mpdscribble.conf -[ -s ~/.config/mpd/pid ] && mpd-rpc --no-idle --fork +pidof mpdscribble || mpdscribble --conf .config/mpdscribble/mpdscribble.conf +pidof mpd-rpc || mpd-rpc --no-idle --fork |