[Unit] # ⚠️ REAL ingestion: this poller pulls "New" products from Ergonode and enqueues # them (which the worker then processes via Vertex). server-setup.sh INSTALLS # but does NOT enable/start it. Ingestion still respects the configurable # interval, the ingestion feature flag and the kill-switch. Turn on when ready: # systemctl enable --now poc-product-ai-poller Description=POC product-ai-automation Ergonode poller (REAL ingestion) After=network.target [Service] Type=simple User=__USER__ WorkingDirectory=__ROOT__/product-ai-automation/backend Environment=APP_ENV=prod # Secrets come from backend/.env.local (symlinked to data/secrets/product-ai-backend.env # by server-setup.sh); Symfony auto-loads it. ExecStart=/bin/sh -c 'while true; do /usr/bin/php8.3 bin/console app:poll || true; sleep 60; done' Restart=on-failure RestartSec=10 [Install] WantedBy=multi-user.target