aboutsummaryrefslogtreecommitdiff
path: root/files/mpd-music/music_refresh
diff options
context:
space:
mode:
Diffstat (limited to 'files/mpd-music/music_refresh')
-rwxr-xr-xfiles/mpd-music/music_refresh5
1 files changed, 5 insertions, 0 deletions
diff --git a/files/mpd-music/music_refresh b/files/mpd-music/music_refresh
new file mode 100755
index 0000000..6215de2
--- /dev/null
+++ b/files/mpd-music/music_refresh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+if ! service music status; then
+ service music restart
+fi