bootstrap: contain install artifacts in .runtime/, provision SimpleX gateway
Move every installed artifact into a gitignored .runtime/ tree inside the checkout (venv, SemIf engine, GGUF, HF cache, simplex-chat binary/profile, rendered systemd units) so an end user can find and debug the whole stack in one place. Pin simplex-chat v7.0.3 in config.example.json (url+sha256) and have bootstrap download it, render semif-simplex.service + semif-gateway.service from scripts/systemd/ templates, symlink them into the user unit dir, and enable them. Add --simplex-allowed-users/--simplex-home-channel/--simplex-display-name flags and write the gateway block into config.json. Add the AGENTS.md containment rule.
This commit is contained in:
1 parent
6ab4d94423
commit
483c51f559
6 files changed
+291
-91
No files matched your search
@@ -0,0 +1,16 @@
|
||||
[Unit]
|
||||
Description=SemIf agent SimpleX Chat daemon
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=@REPO@/.runtime/bin/simplex-chat -p @PORT@ -d @REPO@/.runtime/simplex -k "" --headless --user-display-name "@DISPLAY_NAME@"
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
SyslogIdentifier=semif-simplex
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
Reference in new issue
Block a user