summaryrefslogtreecommitdiff
path: root/irc/ircd-ratbox-devel/files/patch-doc_example.conf
blob: 6af27dffa786ddc5eb89642506fdb08b255013c2 (plain) (blame)
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
--- ./doc/example.conf.orig	Mon Mar 10 20:28:36 2008
+++ ./doc/example.conf	Tue Apr 22 02:23:42 2008
@@ -93,13 +93,13 @@
 	default_max_clients = 10000;
 
 	/* ssl_private_key: our ssl private key */
-        ssl_private_key = "etc/test.key";
+        ssl_private_key = "/usr/local/etc/ssl/test.key";
 
 	/* ssl_cert: certificate for our ssl server */
-        ssl_cert = "etc/test.cert";
+        ssl_cert = "/usr/local/etc/ssl/test.cert";
 
 	/* ssl_dh_params: DH parameters, generate with openssl dhparam -out dh.pem 1024 */
-        ssl_dh_params = "etc/dh.pem";
+        ssl_dh_params = "/usr/local/etc/ssl/dh.pem";
 
 	/* ssld_count: number of ssld processes you want to start, if you have a really busy 
 	 * server, using N-1 where N is the number of cpu/cpu cores you have might be useful
@@ -132,16 +132,16 @@
 	 * - operspylog: operspy usage
 	 * - ioerrorlog: IO errors
 	 */
-	fname_userlog = "logs/userlog";
-	#fname_fuserlog = "logs/fuserlog";
-	fname_operlog = "logs/operlog";
-	#fname_foperlog = "logs/foperlog";
-	fname_serverlog = "logs/serverlog";
-	fname_glinelog = "logs/glinelog";
-	#fname_klinelog = "logs/klinelog";
-	fname_killlog = "logs/killlog";
-	fname_operspylog = "logs/operspylog";
-	#fname_ioerrorlog = "logs/ioerror";
+	fname_userlog = "%%LOGDIR%%/userlog";
+	#fname_fuserlog = "%%LOGDIR%%/fuserlog";
+	fname_operlog = "%%LOGDIR%%/operlog";
+	#fname_foperlog = "%%LOGDIR%%/foperlog";
+	fname_serverlog = "%%LOGDIR%%/serverlog";
+	fname_glinelog = "%%LOGDIR%%/glinelog";
+	#fname_klinelog = "%%LOGDIR%%/klinelog";
+	fname_killlog = "%%LOGDIR%%/killlog";
+	fname_operspylog = "%%LOGDIR%%/operspylog";
+	#fname_ioerrorlog = "%%LOGDIR%%/ioerror";
 };
 
 /* class {}: contain information about classes for users (OLD Y:) */
@@ -337,7 +337,7 @@
 	 * A password should not be defined when this is used, see 
 	 * doc/challenge.txt for more information.
 	 */
-	#rsa_public_key_file = "/usr/local/ircd/etc/oper.pub";
+	#rsa_public_key_file = "%%PREFIX%%/etc/ircd-ratbox/oper.pub";
 
 	/* umodes: the specific umodes this oper gets when they oper.
 	 * If this is specified an oper will not be given oper_umodes
@@ -946,7 +946,7 @@
 	 *
 	 * only define if servlink is not in same directory as ircd itself.
 	 */
-	#servlink_path = "/usr/local/ircd/bin/servlink";
+	#servlink_path = "%%PREFIX%%/bin/servlink";
 
 	/* use egd: if your system does not have *random devices yet you
 	 * want to use OpenSSL and encrypted links, enable this.  Beware -
@@ -999,8 +999,9 @@
 	/* module path: paths to search for modules specified below and 
 	 * in /modload.
 	 */
-	path = "/usr/local/ircd/modules";
-	path = "/usr/local/ircd/modules/autoload";
+	path = "%%PREFIX%%/lib/ircd-ratbox/modules/";
+	path = "%%PREFIX%%/lib/ircd-ratbox/modules/autoload/";
+	path = "%%PREFIX%%/lib/ircd-ratbox/modules/contrib/";
 
 	/* module: the name of a module to load on startup/rehash */
 	#module = "some_module.so";