From 30b987fecb1a461a044ae1b3fd14249298b5ce73 Mon Sep 17 00:00:00 2001 From: Zef Hemel Date: Sun, 10 Dec 2023 15:39:49 +0100 Subject: [PATCH] Fixes #506: enables disabling shell commands --- .vscode/settings.json | 3 ++- website/Install/Local.md | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index d86408b..1de8c51 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -6,5 +6,6 @@ "deno.unstable": true, "[markdown]": { "editor.formatOnSave": false - } + }, + "deno.documentPreloadLimit": 0 } diff --git a/website/Install/Local.md b/website/Install/Local.md index b5c4693..b392171 100644 --- a/website/Install/Local.md +++ b/website/Install/Local.md @@ -140,4 +140,5 @@ You can configure SB with environment variables instead of flags, which is proba * `SB_HOSTNAME`: Set to the hostname to bind to (defaults to `127.0.0.0`, set to `0.0.0.0` to accept outside connections) * `SB_PORT`: Sets the port to listen to, e.g. `SB_PORT=1234` * `SB_FOLDER`: Sets the folder to expose, e.g. `SB_FOLDER=/space` +* `SB_SHELL_BACKEND`: Enable/disable running of shell commands from plugs, defaults to "local" (enabled), set to "off" to disable * `SB_SYNC_ONLY`: Runs the server in a "dumb" space store-only mode (not indexing content or keeping other state), e.g. `SB_SYNC_ONLY=1`. This will disable the Online [[Client Modes]] altogether (and not even show the sync icon in the top bar). Conceptually, [silverbullet.md](https://silverbullet.md) runs in this mode.