freebsd-ports/irc/ircd-ratbox/files/patch-doc_example.conf
Michael Scheidell f1048caf36 - Major release update to 3.0.7. Read /usr/ports/UPDATING
PR:		ports/166931
Submitted by:	moggie <moggie@elasticmind.net> (maintainer)
Reviewed by:	scheidell (me)
2012-04-15 10:52:14 +00:00

77 lines
2.7 KiB
Plaintext

--- ./doc/example.conf.orig 2012-04-13 14:54:05.000000000 +0100
+++ ./doc/example.conf 2012-04-13 14:59:46.000000000 +0100
@@ -98,13 +98,13 @@
default_max_clients = 10000;
/* ssl_private_key: our ssl private key */
- ssl_private_key = "etc/test.key";
+ ssl_private_key = "%%PREFIX%%/etc/ssl/test.key";
/* ssl_cert: certificate for our ssl server */
- ssl_cert = "etc/test.cert";
+ ssl_cert = "%%PREFIX%%/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 = "%%PREFIX%%/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
@@ -115,7 +115,7 @@
ssld_count = 1;
/* bandb: path to the ban database - default is PREFIX/etc/ban.db */
- bandb = "etc/ban.db";
+ bandb = "%%DBDIR%%/ban.db";
};
/* admin {}: contains admin information about the server. (OLD A:) */
@@ -142,16 +142,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:) */
@@ -354,7 +354,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
@@ -1022,8 +1022,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";