aboutsummaryrefslogtreecommitdiff
path: root/local/services/playlists.service
diff options
context:
space:
mode:
Diffstat (limited to 'local/services/playlists.service')
-rw-r--r--local/services/playlists.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/local/services/playlists.service b/local/services/playlists.service
new file mode 100644
index 0000000..13729ff
--- /dev/null
+++ b/local/services/playlists.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Playlists
+Before=mpd.target
+
+[Service]
+Type=simple
+ExecStart=find /home/ -name '*.m3u' -exec cp {} /home/playlists \;
+
+[Install]
+WantedBy=multi-user.target
+