summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--config/systemd/user/sync-music.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/config/systemd/user/sync-music.service b/config/systemd/user/sync-music.service
new file mode 100644
index 0000000..acc821a
--- /dev/null
+++ b/config/systemd/user/sync-music.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Sync my music collection to the NAS
+
+[Service]
+Type=oneshot
+
+ExecStart=/usr/bin/rsync -a /home/fcuny/media/music/ nas.home:/data/music
+
+[Install]
+WantedBy=default.target