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.
19 lines
453 B
Plaintext
19 lines
453 B
Plaintext
[Unit]
|
|
Description=SemIf agent messenger gateway (SimpleX)
|
|
After=network-online.target semif-simplex.service
|
|
Wants=network-online.target semif-simplex.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
WorkingDirectory=@REPO@
|
|
Environment=HF_HOME=@REPO@/.runtime/hf
|
|
ExecStart=@REPO@/.runtime/venv/bin/python -m semif_agent.cli gateway
|
|
Restart=always
|
|
RestartSec=5
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
SyslogIdentifier=semif-gateway
|
|
|
|
[Install]
|
|
WantedBy=default.target
|