Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-gnome
Path: blob/main/irc/ircd-ratbox/files/patch-doc_example.conf
14237 views
1
--- ./doc/example.conf.orig 2012-04-13 14:54:05.000000000 +0100
2
+++ ./doc/example.conf 2012-04-13 14:59:46.000000000 +0100
3
@@ -98,13 +98,13 @@
4
default_max_clients = 10000;
5
6
/* ssl_private_key: our ssl private key */
7
- ssl_private_key = "etc/test.key";
8
+ ssl_private_key = "%%PREFIX%%/etc/ssl/test.key";
9
10
/* ssl_cert: certificate for our ssl server */
11
- ssl_cert = "etc/test.cert";
12
+ ssl_cert = "%%PREFIX%%/etc/ssl/test.cert";
13
14
/* ssl_dh_params: DH parameters, generate with openssl dhparam -out dh.pem 1024 */
15
- ssl_dh_params = "etc/dh.pem";
16
+ ssl_dh_params = "%%PREFIX%%/etc/ssl/dh.pem";
17
18
/* ssld_count: number of ssld processes you want to start, if you
19
* have a really busy server, using N-1 where N is the number of
20
@@ -115,7 +115,7 @@
21
ssld_count = 1;
22
23
/* bandb: path to the ban database - default is PREFIX/etc/ban.db */
24
- bandb = "etc/ban.db";
25
+ bandb = "%%DBDIR%%/ban.db";
26
};
27
28
/* admin {}: contains admin information about the server. (OLD A:) */
29
@@ -142,16 +142,16 @@
30
* - operspylog: operspy usage
31
* - ioerrorlog: IO errors
32
*/
33
- fname_userlog = "logs/userlog";
34
- #fname_fuserlog = "logs/fuserlog";
35
- fname_operlog = "logs/operlog";
36
- #fname_foperlog = "logs/foperlog";
37
- fname_serverlog = "logs/serverlog";
38
- fname_glinelog = "logs/glinelog";
39
- #fname_klinelog = "logs/klinelog";
40
- fname_killlog = "logs/killlog";
41
- fname_operspylog = "logs/operspylog";
42
- #fname_ioerrorlog = "logs/ioerror";
43
+ fname_userlog = "%%LOGDIR%%/userlog";
44
+ #fname_fuserlog = "%%LOGDIR%%/fuserlog";
45
+ fname_operlog = "%%LOGDIR%%/operlog";
46
+ #fname_foperlog = "%%LOGDIR%%/foperlog";
47
+ fname_serverlog = "%%LOGDIR%%/serverlog";
48
+ fname_glinelog = "%%LOGDIR%%/glinelog";
49
+ #fname_klinelog = "%%LOGDIR%%/klinelog";
50
+ fname_killlog = "%%LOGDIR%%/killlog";
51
+ fname_operspylog = "%%LOGDIR%%/operspylog";
52
+ #fname_ioerrorlog = "%%LOGDIR%%/ioerror";
53
};
54
55
/* class {}: contain information about classes for users (OLD Y:) */
56
@@ -354,7 +354,7 @@
57
* A password should not be defined when this is used, see
58
* doc/challenge.txt for more information.
59
*/
60
- #rsa_public_key_file = "/usr/local/ircd/etc/oper.pub";
61
+ #rsa_public_key_file = "%%PREFIX%%/etc/ircd-ratbox/oper.pub";
62
63
/* umodes: the specific umodes this oper gets when they oper.
64
* If this is specified an oper will not be given oper_umodes
65
@@ -1022,8 +1022,9 @@
66
/* module path: paths to search for modules specified below and
67
* in /modload.
68
*/
69
- path = "/usr/local/ircd/modules";
70
- path = "/usr/local/ircd/modules/autoload";
71
+ path = "%%PREFIX%%/lib/ircd-ratbox/modules/";
72
+ path = "%%PREFIX%%/lib/ircd-ratbox/modules/autoload/";
73
+ path = "%%PREFIX%%/lib/ircd-ratbox/modules/contrib/";
74
75
/* module: the name of a module to load on startup/rehash */
76
#module = "some_module.so";
77
78