1
0

Fixes #506: enables disabling shell commands

This commit is contained in:
Zef Hemel 2023-12-10 15:39:49 +01:00
parent 8bb9abff68
commit 30b987fecb
2 changed files with 3 additions and 1 deletions

View File

@ -6,5 +6,6 @@
"deno.unstable": true,
"[markdown]": {
"editor.formatOnSave": false
}
},
"deno.documentPreloadLimit": 0
}

View File

@ -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.