Skip to content

Commit f5679f8

Browse files
sirainencmouse
authored andcommitted
settings, global: Replace FILE setting type syntax
1 parent a4f48ad commit f5679f8

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/core/plugins/mail_crypt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ passdb static {
325325
password = pass
326326
fields {
327327
crypt_global_public_key_file = ecpubkey.pem
328-
crypt_global_private_key/main/private_key = <content of ecprivkey.pem>
328+
crypt_global_private_key/main/private_key_file = inline:<content of ecprivkey.pem>
329329
}
330330
}
331331
```

docs/core/settings/types.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -185,10 +185,10 @@ the process has dropped root privileges.
185185

186186
The file paths do not support [[link,settings_variables,%variables]].
187187

188-
All the `file` type settings end with a `_file` suffix. It's possible to give
189-
inline values (instead of a path to a file) for the setting by removing the
190-
`_file` suffix. For example userdb could be returning
191-
`crypt_global_public_key=<public key content>` without having to use files.
188+
It's possible to give inline values (instead of a path to a file) for the
189+
setting by using `inline:` prefix in the value. For example userdb could be
190+
returning `crypt_global_public_key_file=inline:<public key content>` without
191+
having to use files.
192192

193193
## Named Filter
194194

0 commit comments

Comments
 (0)