Last change
on this file since 67 was 67, checked in by yakumo.izuru, 16 months ago |
Fix bugs, many other changes
Signed-off-by: Izuru Yakumo <yakumo.izuru@…>
|
File size:
862 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
|
---|
| 10 | .It listen
|
---|
| 11 | HTTP port for the server to listen.
|
---|
| 12 | Default is "localhost:5000"
|
---|
[61] | 13 | .It static
|
---|
[60] | 14 | Directory where the static resources are located.
|
---|
| 15 | Default is "./static"
|
---|
[61] | 16 | .It templates
|
---|
[60] | 17 | Directory where the templates are located.
|
---|
| 18 | Default is "./views"
|
---|
| 19 | .El
|
---|
| 20 | .Sh ENVIRONMENT
|
---|
| 21 | .Bl -tag -width 11n
|
---|
| 22 | .It Ev MAI_LIBRETRANSLATE_INSTANCE
|
---|
[61] | 23 | LibreTranslate instance to use, it's required for the engine to work.
|
---|
[60] | 24 | .It Ev MAI_LIBRETRANSLATE_API
|
---|
[61] | 25 | LibreTranslate API key for the above setting, it may or
|
---|
| 26 | may not be required, depending on the instance.
|
---|
[60] | 27 | .El
|
---|
| 28 | .Sh FILES
|
---|
| 29 | .Pa /usr/local/etc/mai/mai.ini
|
---|
| 30 | .Sh SEE ALSO
|
---|
| 31 | .Xr mai 1
|
---|
| 32 | .Sh AUTHORS
|
---|
| 33 | .An fattalion
|
---|
| 34 | .An metalune
|
---|
[61] | 35 | .An ManeraKai Lk https://manerakai.com
|
---|
[60] | 36 | .Sh MAINTAINERS
|
---|
| 37 | .An Izuru Yakumo Aq Mt yakumo.izuru@chaotic.ninja
|
---|
Note:
See
TracBrowser
for help on using the repository browser.