BBS:      TELESC.NET.BR
Assunto:  install/systemd/chat_llm_irc.service llm_index.service llm_index.timer
De:       Rob Swindell (on Windows 11)
Data:     Fri, 29 May 2026 11:52:46 -0700
-----------------------------------------------------------
https://gitlab.synchro.net/main/sbbs/-/commit/35ccbd5e52de1ecbea704633
Added Files:
	install/systemd/chat_llm_irc.service llm_index.service llm_index.timer
Log Message:
install/systemd: add chat_llm_irc + llm_index units

Three example systemd units for the LLM-backed chat infrastructure,
modeled on broker.service:

  chat_llm_irc.service   long-running IRC bot (exec/chat_llm_irc.js).
                         Only needed if the deploy serves chat via IRC;
                         terminal-side guru paging and multinode channel
                         guru run in-process inside sbbs.service.
  llm_index.service      oneshot RAG index rebuild via
                         exec/llm_index.js.  Common to every chat_llm
                         consumer; refreshes the BM25 index the
                         retrieval side reads.
  llm_index.timer        nightly trigger for llm_index.service, with a
                         15-min random delay and Persistent=true so
                         missed runs catch up on next boot.

For sysops migrating the chat_llm service to a dedicated Linux host
(e.g. cvs.synchro.net): copy to /lib/systemd/system, tweak SBBSCTRL /
User / Group / paths via `systemctl edit`, then enable.

Co-Authored-By: Claude Opus 4.7 (1M context) 
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

-----------------------------------------------------------
[Voltar]