Path: blob/main/irc/ircd-ratbox/files/patch-doc_example.conf
14237 views
--- ./doc/example.conf.orig 2012-04-13 14:54:05.000000000 +01001+++ ./doc/example.conf 2012-04-13 14:59:46.000000000 +01002@@ -98,13 +98,13 @@3default_max_clients = 10000;45/* ssl_private_key: our ssl private key */6- ssl_private_key = "etc/test.key";7+ ssl_private_key = "%%PREFIX%%/etc/ssl/test.key";89/* ssl_cert: certificate for our ssl server */10- ssl_cert = "etc/test.cert";11+ ssl_cert = "%%PREFIX%%/etc/ssl/test.cert";1213/* ssl_dh_params: DH parameters, generate with openssl dhparam -out dh.pem 1024 */14- ssl_dh_params = "etc/dh.pem";15+ ssl_dh_params = "%%PREFIX%%/etc/ssl/dh.pem";1617/* ssld_count: number of ssld processes you want to start, if you18* have a really busy server, using N-1 where N is the number of19@@ -115,7 +115,7 @@20ssld_count = 1;2122/* bandb: path to the ban database - default is PREFIX/etc/ban.db */23- bandb = "etc/ban.db";24+ bandb = "%%DBDIR%%/ban.db";25};2627/* admin {}: contains admin information about the server. (OLD A:) */28@@ -142,16 +142,16 @@29* - operspylog: operspy usage30* - ioerrorlog: IO errors31*/32- fname_userlog = "logs/userlog";33- #fname_fuserlog = "logs/fuserlog";34- fname_operlog = "logs/operlog";35- #fname_foperlog = "logs/foperlog";36- fname_serverlog = "logs/serverlog";37- fname_glinelog = "logs/glinelog";38- #fname_klinelog = "logs/klinelog";39- fname_killlog = "logs/killlog";40- fname_operspylog = "logs/operspylog";41- #fname_ioerrorlog = "logs/ioerror";42+ fname_userlog = "%%LOGDIR%%/userlog";43+ #fname_fuserlog = "%%LOGDIR%%/fuserlog";44+ fname_operlog = "%%LOGDIR%%/operlog";45+ #fname_foperlog = "%%LOGDIR%%/foperlog";46+ fname_serverlog = "%%LOGDIR%%/serverlog";47+ fname_glinelog = "%%LOGDIR%%/glinelog";48+ #fname_klinelog = "%%LOGDIR%%/klinelog";49+ fname_killlog = "%%LOGDIR%%/killlog";50+ fname_operspylog = "%%LOGDIR%%/operspylog";51+ #fname_ioerrorlog = "%%LOGDIR%%/ioerror";52};5354/* class {}: contain information about classes for users (OLD Y:) */55@@ -354,7 +354,7 @@56* A password should not be defined when this is used, see57* doc/challenge.txt for more information.58*/59- #rsa_public_key_file = "/usr/local/ircd/etc/oper.pub";60+ #rsa_public_key_file = "%%PREFIX%%/etc/ircd-ratbox/oper.pub";6162/* umodes: the specific umodes this oper gets when they oper.63* If this is specified an oper will not be given oper_umodes64@@ -1022,8 +1022,9 @@65/* module path: paths to search for modules specified below and66* in /modload.67*/68- path = "/usr/local/ircd/modules";69- path = "/usr/local/ircd/modules/autoload";70+ path = "%%PREFIX%%/lib/ircd-ratbox/modules/";71+ path = "%%PREFIX%%/lib/ircd-ratbox/modules/autoload/";72+ path = "%%PREFIX%%/lib/ircd-ratbox/modules/contrib/";7374/* module: the name of a module to load on startup/rehash */75#module = "some_module.so";767778