summaryrefslogtreecommitdiff
path: root/docs/PROTOCOL.md
diff options
context:
space:
mode:
authorAnders Betts <anders.betts@gmail.com>2026-09-18 10:35:11 +0200
committerAnders Betts <anders.betts@gmail.com>2026-09-18 10:35:11 +0200
commit1e5b4927e5ae1d542d51158eb995d4f4b5a8b1c5 (patch)
tree5d2b414abbe6550eaf403c6aa4b5f75eb703fa01 /docs/PROTOCOL.md
parent7a0771215d9bd52dc9d6913abee56a9f62893d3e (diff)
downloadbokf-0.1.14.tar.gz
bokf-0.1.14.zip
deploy: --dev hot-reloads the daemon via docker cp + SIGHUPv0.1.14
- bokfd re-execs its own binary on SIGHUP, closing listeners/db first - scripts/deploy.sh --dev cross-builds and copies binaries into the running container, then verifies the reported version
Diffstat (limited to 'docs/PROTOCOL.md')
-rw-r--r--docs/PROTOCOL.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/PROTOCOL.md b/docs/PROTOCOL.md
index f282691..1baf607 100644
--- a/docs/PROTOCOL.md
+++ b/docs/PROTOCOL.md
@@ -488,4 +488,7 @@ beyond the session and calls nothing but public commands.
| `allow_org_create` | `true` | any user may create an org |
Container deployments mount the socket directory, database directory, backup
-and export directories as volumes; the daemon is otherwise stateless.
+and export directories as volumes; the daemon is otherwise stateless. On
+`SIGHUP` the daemon closes its listeners and database and re-executes its own
+binary in place (used by `scripts/deploy.sh --dev`); in-memory sessions are
+reset and clients reconnect.