Move runtime configuration from :instance to :modules

This commit is contained in:
Egor Kislitsyn 2019-12-06 15:04:46 +07:00
commit 157bceeda9
4 changed files with 14 additions and 4 deletions

View file

@ -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"
```