automount-sd/sd-copy.service

10 lines
281 B
SYSTEMD
Raw Normal View History

2025-05-29 12:40:39 +03:00
[Unit]
Description=Trigger to copy files from camera SD to Photoprism
Requires=media-whateverthesd\x2dcardidis.mount
After=media-whateverthesd\x2dcardidis.mount
[Service]
ExecStart=/home/whereverthethingis/copy.sh
[Install]
WantedBy=media-whateverthesd\x2dcardidis.mount