Docs: 9router + Hermes Agent local AI stack with Telegram (9router routes model via combo)

This commit is contained in:
cania
2026-08-11 17:50:23 +02:00
commit da4b918e68
7 changed files with 332 additions and 0 deletions

15
files/start-9router.sh Normal file
View File

@@ -0,0 +1,15 @@
#!/bin/sh
# Detached 9router launcher for @reboot cron.
# Run as root crontab; drops privileges to user 'ubuntu' via runuser.
# Uses absolute paths (cron @reboot has minimal PATH).
SETSID=/usr/bin/setsid
RUNUSER=/usr/sbin/runuser
BIN=/usr/local/bin/9router
USER=ubuntu
LOG=/home/ubuntu/9router.log
if [ "$(id -u)" -eq 0 ]; then
exec $SETSID $RUNUSER -u $USER -- $BIN -t -n --host 127.0.0.1 --port 20128 >> "$LOG" 2>&1 < /dev/null
else
exec $SETSID $BIN -t -n --host 127.0.0.1 --port 20128 >> "$LOG" 2>&1 < /dev/null
fi