[Unit] # ⚠️ REAL processing: this worker consumes the queue and makes live Vertex AI # calls (cost!). server-setup.sh INSTALLS this unit but does NOT enable/start # it. Turn it on deliberately when you're ready: # systemctl enable --now poc-product-ai-worker Description=POC product-ai-automation queue worker (REAL Vertex processing) 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=/usr/bin/php8.3 bin/console app:worker Restart=on-failure RestartSec=5 [Install] WantedBy=multi-user.target