automount-sd/sd-copy.service
2025-05-29 12:40:39 +03:00

10 lines
281 B
Desktop File
Executable File

[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