[systemd] Add path check for MP3 scrobbles

This commit is contained in:
2025-09-25 16:51:36 -04:00
parent 80504aba80
commit 04926030fd
3 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,9 @@
[Unit]
Description=Watch for USB mount to trigger file move
[Path]
PathExists=/media/powellc/SANSA
[Install]
WantedBy=default.target

View File

@ -0,0 +1,6 @@
[Unit]
Description=Move scrobble file when Sansa device is mounted
[Service]
Type=oneshot
ExecStart=%h/.local/bin/usb-move.sh