aboutsummaryrefslogtreecommitdiff
path: root/files/mpd-music/music_refresh
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-09-12 00:19:18 +0200
committerKarel Kočí <cynerd@email.cz>2018-09-12 00:19:18 +0200
commita8bfe6abb693150e9ee01ea6e8d672fc074d1f1c (patch)
treec5e6cc5166c56ad45a396d9af6d4063ad755d9d5 /files/mpd-music/music_refresh
parent4e4d389127254c7404bc71a308129966bd9a8b07 (diff)
downloadmulticonfig-a8bfe6abb693150e9ee01ea6e8d672fc074d1f1c.tar.gz
multiconfig-a8bfe6abb693150e9ee01ea6e8d672fc074d1f1c.tar.bz2
multiconfig-a8bfe6abb693150e9ee01ea6e8d672fc074d1f1c.zip
New multiconfig design
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