aboutsummaryrefslogtreecommitdiff
path: root/docs/configuration/cheatsheet.md
diff options
context:
space:
mode:
authorEgor Kislitsyn <egor@kislitsyn.com>2019-12-06 15:04:46 +0700
committerEgor Kislitsyn <egor@kislitsyn.com>2019-12-06 15:04:46 +0700
commit157bceeda9124cea7ba69eaf6639ca52b3fac7c6 (patch)
treebb4b2b3c2199750002026b917b5d825ad41514fc /docs/configuration/cheatsheet.md
parent1f3c452d864eff625dfd0f25c48abe0efef4507b (diff)
downloadpleroma-157bceeda9124cea7ba69eaf6639ca52b3fac7c6.tar.gz
Move runtime configuration from `:instance` to `:modules`
Diffstat (limited to 'docs/configuration/cheatsheet.md')
-rw-r--r--docs/configuration/cheatsheet.md12
1 files changed, 10 insertions, 2 deletions
diff --git a/docs/configuration/cheatsheet.md b/docs/configuration/cheatsheet.md
index f73d368c1..413a668c6 100644
--- a/docs/configuration/cheatsheet.md
+++ b/docs/configuration/cheatsheet.md
@@ -68,8 +68,6 @@ You shouldn't edit the base config directly to avoid breakages and merge conflic
* `account_field_name_length`: An account field name maximum length (default: `512`).
* `account_field_value_length`: An account field value maximum length (default: `2048`).
* `external_user_synchronization`: Enabling following/followers counters synchronization for external users.
-* `custom_modules_dir`: A path to custom Elixir modules (such as MRF policies).
-
!!! danger
This is a Work In Progress, not usable just yet
@@ -831,3 +829,13 @@ config :auto_linker,
rel: "ugc"
]
```
+
+## Custom Runtime Modules (`:modules`)
+
+* `runtime_dir`: A path to custom Elixir modules (such as MRF policies).
+
+Example:
+
+```elixir
+config :pleroma, :modules, runtime_dir: "/var/lib/pleroma/modules"
+```