deploy/cleura/portfolio-sync.sh: same steps as /opt/immich-sync/run-sync.sh on Nurem (fetch main, portfolio-sync.mjs, commit + push when photos changed) and then build-live.sh main on Cleura; flock against overlapping runs, the sync runs in the pinned Node container. install-portfolio-sync.sh puts it in place; secrets stay in /etc/portal/portfolio-sync.env (root 600). The snippet comment no longer mentions the removed /download/original. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
12 lines
309 B
Desktop File
12 lines
309 B
Desktop File
[Unit]
|
|
Description=Immich portfolio tag -> imagesbyolofsson-se repo -> live site (deploy/cleura/portfolio-sync.sh)
|
|
After=network-online.target docker.service
|
|
Wants=network-online.target
|
|
Requires=docker.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/opt/portal/site/portfolio-sync.sh
|
|
TimeoutStartSec=45min
|
|
Nice=10
|