Add systemd timer deployment for scheduled ingestion cycle
- deploy/goodnews.service: oneshot unit running 'goodnews cycle' with a generous TimeoutStartSec so long classify runs are not killed. - deploy/goodnews.timer: every 15 min, Persistent=true to catch missed runs. - deploy/goodnews.env.example: LLM endpoint + DB path for the scheduled run. - README: scheduling/install docs. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
# Copy to /etc/goodnews/goodnews.env and adjust. Read by goodnews.service.
|
||||
# These let the scheduled cycle reach the local model and the shared database.
|
||||
|
||||
GOODNEWS_LLM_BASE_URL=http://192.168.50.100:1234/v1
|
||||
GOODNEWS_LLM_MODEL=qwen/qwen3-14b
|
||||
GOODNEWS_DB=/home/jay/goodNews/data/goodnews.sqlite3
|
||||
Reference in New Issue
Block a user