-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.example.yml
76 lines (55 loc) · 2.21 KB
/
config.example.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
---
# You must specify at least one `listen` or `listen_ssl` options
# Host and port for plain connections. SSL recommended instead.
listen : 0.0.0.0:119
# Host and port for secure (SSL) connections. Uncomment to activate
#listen_ssl : 0.0.0.0:536
# Certificate & key container. Must be defined if listen_ssl activated
#pem_file : /your/ssl/file.pem
# Max. simultanious connections per listen daemon, that means that if you are
# listening plain connections and ssl, then your daemon will accept 500 plain
# connections and 500 ssl connections (1000 in summary) if you'll set max_conn
# to 500. Default: 50. Don't set too large.
#max_conn : 500
# Inactivity timeout (in seconds), to close idle connections.
# 15 seconds by default. Don't set too large.
#timeout : 60
# Process title for 'ps'. 'vb-nntp' by default
#title : vb-nntp
# Amount of workers. By default equals to amount of CPU cores.
#workers : 1
# LOGGER CONFIGURATION #########################################################
################################################################################
logger:
enabled : yes
file : /var/log/vb-nntp.log
# Whenever colorize logs or not. Disabled by default
#colorize : yes
# Whenever use JSON format of log events. Disabled by default.
#json : yes
# Minimal message level to be logged
#
# VERBOSE - Log whole server reply
# DEBUG - Log incoming commands and responses (first string)
# AUTH_DEBUG - Authentication success / failure
# INFO - Start, stop, restart
# WARN - Authentication error, Invalid command
# ERROR - Errors
severity : INFO
# DATABASE CONFIGURATION #######################################################
################################################################################
database:
username : <database user>
password : <database password>
database : <your database name>
# (optional) Database host.
# Default: localhost
host : localhost
# (optional) Database port.
# Default: 3306
port : 3306
# (optional) Database socket.
socket : /var/run/mysqld/mysqld.sock
# (optional) Prefix for all tables (if used, in vbulletin)
# Default: ""
prefix : ""