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