Last change
on this file since 66 was 63, checked in by yakumo.izuru, 17 months ago |
今すぐv1をリリースすべきでしょうか?
Signed-off-by: Izuru Yakumo <yakumo.izuru@…>
|
File size:
987 bytes
|
Rev | Line | |
---|
[60] | 1 | .Dd $Mdocdate$
|
---|
| 2 | .Dt MAI.INI 5
|
---|
| 3 | .Os
|
---|
| 4 | .Sh NAME
|
---|
| 5 | .Nm mai.ini
|
---|
| 6 | .Nd Configuration file for Mai
|
---|
| 7 | .Sh OPTIONS
|
---|
[61] | 8 | .Ss [mai] section
|
---|
[60] | 9 | .Bl -tag -width 11n
|
---|
[63] | 10 | .It group
|
---|
| 11 | Group ID for dropping privileges to.
|
---|
| 12 | If unset, assume the GID of user
|
---|
[60] | 13 | .It listen
|
---|
| 14 | HTTP port for the server to listen.
|
---|
| 15 | Default is "localhost:5000"
|
---|
[61] | 16 | .It static
|
---|
[60] | 17 | Directory where the static resources are located.
|
---|
| 18 | Default is "./static"
|
---|
[61] | 19 | .It templates
|
---|
[60] | 20 | Directory where the templates are located.
|
---|
| 21 | Default is "./views"
|
---|
[63] | 22 | .It user
|
---|
| 23 | User ID for dropping privileges to.
|
---|
[60] | 24 | .El
|
---|
| 25 | .Sh ENVIRONMENT
|
---|
| 26 | .Bl -tag -width 11n
|
---|
| 27 | .It Ev MAI_LIBRETRANSLATE_INSTANCE
|
---|
[61] | 28 | LibreTranslate instance to use, it's required for the engine to work.
|
---|
[60] | 29 | .It Ev MAI_LIBRETRANSLATE_API
|
---|
[61] | 30 | LibreTranslate API key for the above setting, it may or
|
---|
| 31 | may not be required, depending on the instance.
|
---|
[60] | 32 | .El
|
---|
| 33 | .Sh FILES
|
---|
| 34 | .Pa /usr/local/etc/mai/mai.ini
|
---|
| 35 | .Sh SEE ALSO
|
---|
| 36 | .Xr mai 1
|
---|
| 37 | .Sh AUTHORS
|
---|
| 38 | .An fattalion
|
---|
| 39 | .An metalune
|
---|
[61] | 40 | .An ManeraKai Lk https://manerakai.com
|
---|
[60] | 41 | .Sh MAINTAINERS
|
---|
| 42 | .An Izuru Yakumo Aq Mt yakumo.izuru@chaotic.ninja
|
---|
Note:
See
TracBrowser
for help on using the repository browser.