Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/spark-supervisor/blob/main/services/allen-chat.svc.example # spark-supervisor Process supervisor and health monitor for sovereign daemons Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `spark-supervisor / services / allen-chat.svc.example` 42 lines ยท 2109 bytes Raw Blame History 1 # allen-chat: public gateway for www.aienos.com/allen/ (tailnet only, no credentials). 2 # EXAMPLE: the real file carries the host's tailnet addresses and is kept out of this public 3 # repository. Replace the documentation addresses (RFC 5737) before installing root-owned 0644 as 4 # /etc/aien-supervise/services/allen-chat.svc: 5 # 192.0.2.2 this host's tailnet address 192.0.2.3 the reverse proxy (hub) 6 # 192.0.2.1, 192.0.2.4 the operator's devices (console listener only) 7 # Directive-by-directive mapping and probes: docs/MIGRATION.md. 8 exec /usr/bin/python3.12 -I /opt/allen-chat/allen_chat.py --listen 192.0.2.2:18110 --trusted-proxy 192.0.2.3 --upstream 127.0.0.1:18091 --system-prompt /opt/allen-chat/system-prompt.txt --catalog /var/lib/allen-catalog/catalog.txt --areas-file /var/lib/allen-catalog/areas.txt --omc /opt/allen-chat/omc --irwasm /opt/allen-chat/irwasm --spool-in /var/lib/allen-chat/spool-in --spool-status /var/lib/allen-chat/spool-status --contacts-drop /var/lib/allen-chat/contacts-drop --memory-url http://127.0.0.1:18096 --relay-drop /var/lib/allen-chat/relay-drop --console-listen 192.0.2.2:18112 --console-state /var/lib/allen-chat/console 9 restart on-failure 10 backoff 5 300 11 user allen-chat 12 groups allen-spool allen-drop allen-relaydrop 13 envfile /etc/allen-chat/env 14 env PATH=/usr/bin:/bin 15 umask 0027 16 nice 5 17 ro /opt/allen-chat 18 ro /var/lib/allen-catalog 19 ro /var/lib/allen-chat/spool-status 20 rw /var/lib/allen-chat/spool-in 21 rw /var/lib/allen-chat/contacts-drop 22 rw /var/lib/allen-chat/relay-drop 23 rw /var/lib/allen-chat/console 24 net filter 25 allow 127.0.0.1 26 allow 192.0.2.1 27 allow 192.0.2.2 28 allow 192.0.2.3 29 allow 192.0.2.4 30 net-default drop 31 listen 18110 192.0.2.3 192.0.2.2 127.0.0.1 32 listen 18112 192.0.2.1 192.0.2.4 192.0.2.2 127.0.0.1 33 memory-max `1073741824` 34 tasks-max 128 35 cpu-quota 200 36 nofile 1024 37 # The gateway runs bwrap itself for its compile sandbox: user namespaces stay creatable and the 38 # filter adds @mount, unshare and setns (as SystemCallFilter=@system-service @mount unshare setns). 39 namespaces yes 40 syscalls @system-service @mount @ns 41 families unix inet inet6 netlink 42 mdwe yes