10 lines
281 B
SYSTEMD
10 lines
281 B
SYSTEMD
|
[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
|