[Unit] Description=StoryForge Collector Service After=network.target [Service] User=ubuntu Group=ubuntu WorkingDirectory=/home/ubuntu/storyforge/collector-service Environment=DATA_DIR=/home/ubuntu/storyforge/data/collector Environment=DATABASE_PATH=/home/ubuntu/storyforge/data/collector/storyforge.db Environment=JOBS_DIR=/home/ubuntu/storyforge/data/collector/jobs Environment=DOWNLOADS_DIR=/home/ubuntu/storyforge/data/collector/downloads Environment=MODELS_DIR=/home/ubuntu/storyforge/data/collector/models Environment=DEFAULT_EXTERNAL_BASE_URL=https://storyforge.hyzq.net Environment=LOCAL_OPENAI_BASE_URL= Environment=ASR_HTTP_BASE_URL=http://127.0.0.1:28088 Environment=N8N_BASE_URL=http://127.0.0.1:15670 Environment=ORCHESTRATOR_SHARED_SECRET=__set_a_strong_shared_secret__ Environment=BOOTSTRAP_SUPERADMIN_USERNAME=storyforge-admin Environment=BOOTSTRAP_SUPERADMIN_PASSWORD=__set_a_strong_password__ Environment=BOOTSTRAP_SUPERADMIN_DISPLAY_NAME=StoryForge Admin Environment=WEB_AUTOLOGIN_ENABLED=1 Environment=WEB_AUTOLOGIN_ACCOUNT_USERNAME= Environment=WEB_AUTOLOGIN_USERNAME= Environment=WEB_AUTOLOGIN_PASSWORD= Environment=HUOBAO_BASE_URL=http://127.0.0.1:15678 Environment=CUTVIDEO_BASE_URL=http://127.0.0.1:17860 Environment=LIVE_RECORDER_BASE_URL=http://127.0.0.1:19106 ExecStart=/home/ubuntu/storyforge/collector-service/.venv/bin/python -m uvicorn app.main:app --host 127.0.0.1 --port 8081 Restart=always RestartSec=3 [Install] WantedBy=multi-user.target