bootstrap: simplex-chat v7 headless requires --relay
The pinned v7.0.3 daemon exits with '--headless option requires --relay'. Add --relay to semif-simplex.service (hermes' daemon already uses both).
This commit is contained in:
1 parent
483c51f559
commit
a6f46b735d
2 files changed
+4
-3
No files matched your search
@@ -374,8 +374,9 @@ unit tests (24) + box integration tests (2).
|
||||
`data/` for continuity; `--public-dashboard` binds the dashboard to `0.0.0.0`.
|
||||
It also enables the SimpleX gateway (`gateway.simplex.enabled = true`,
|
||||
`ws_url` from `simplex_chat.port`) and renders/enables the two user services
|
||||
`semif-simplex.service` (the pinned `simplex-chat` daemon, headless on
|
||||
`simplex_chat.port`) and `semif-gateway.service`
|
||||
`semif-simplex.service` (the pinned `simplex-chat` daemon, `--relay
|
||||
--headless` on `simplex_chat.port` — v7 requires `--relay` for `--headless`)
|
||||
and `semif-gateway.service`
|
||||
(`.runtime/venv/bin/python -m semif_agent.cli gateway`). `--simplex-allowed-users
|
||||
CSV` / `--simplex-home-channel ID` / `--simplex-display-name NAME` populate
|
||||
the allowlist/fallback/identity; with an empty allowlist the gateway denies
|
||||
|
||||
@@ -5,7 +5,7 @@ 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@"
|
||||
ExecStart=@REPO@/.runtime/bin/simplex-chat -p @PORT@ -d @REPO@/.runtime/simplex -k "" --relay --headless --user-display-name "@DISPLAY_NAME@"
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
StandardOutput=journal
|
||||
|
||||
Reference in new issue
Block a user