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`.
|
`data/` for continuity; `--public-dashboard` binds the dashboard to `0.0.0.0`.
|
||||||
It also enables the SimpleX gateway (`gateway.simplex.enabled = true`,
|
It also enables the SimpleX gateway (`gateway.simplex.enabled = true`,
|
||||||
`ws_url` from `simplex_chat.port`) and renders/enables the two user services
|
`ws_url` from `simplex_chat.port`) and renders/enables the two user services
|
||||||
`semif-simplex.service` (the pinned `simplex-chat` daemon, headless on
|
`semif-simplex.service` (the pinned `simplex-chat` daemon, `--relay
|
||||||
`simplex_chat.port`) and `semif-gateway.service`
|
--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
|
(`.runtime/venv/bin/python -m semif_agent.cli gateway`). `--simplex-allowed-users
|
||||||
CSV` / `--simplex-home-channel ID` / `--simplex-display-name NAME` populate
|
CSV` / `--simplex-home-channel ID` / `--simplex-display-name NAME` populate
|
||||||
the allowlist/fallback/identity; with an empty allowlist the gateway denies
|
the allowlist/fallback/identity; with an empty allowlist the gateway denies
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ Wants=network-online.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
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
|
Restart=always
|
||||||
RestartSec=10
|
RestartSec=10
|
||||||
StandardOutput=journal
|
StandardOutput=journal
|
||||||
|
|||||||
Reference in new issue
Block a user