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.
17 lines
404 B
Plaintext
17 lines
404 B
Plaintext
[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
|