patch-doc_example.conf 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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. /* ssl_private_key: our ssl private key */
  6. - ssl_private_key = "etc/test.key";
  7. + ssl_private_key = "%%PREFIX%%/etc/ssl/test.key";
  8. /* ssl_cert: certificate for our ssl server */
  9. - ssl_cert = "etc/test.cert";
  10. + ssl_cert = "%%PREFIX%%/etc/ssl/test.cert";
  11. /* ssl_dh_params: DH parameters, generate with openssl dhparam -out dh.pem 1024 */
  12. - ssl_dh_params = "etc/dh.pem";
  13. + ssl_dh_params = "%%PREFIX%%/etc/ssl/dh.pem";
  14. /* ssld_count: number of ssld processes you want to start, if you
  15. * have a really busy server, using N-1 where N is the number of
  16. @@ -115,7 +115,7 @@
  17. ssld_count = 1;
  18. /* bandb: path to the ban database - default is PREFIX/etc/ban.db */
  19. - bandb = "etc/ban.db";
  20. + bandb = "%%DBDIR%%/ban.db";
  21. };
  22. /* admin {}: contains admin information about the server. (OLD A:) */
  23. @@ -142,16 +142,16 @@
  24. * - operspylog: operspy usage
  25. * - ioerrorlog: IO errors
  26. */
  27. - fname_userlog = "logs/userlog";
  28. - #fname_fuserlog = "logs/fuserlog";
  29. - fname_operlog = "logs/operlog";
  30. - #fname_foperlog = "logs/foperlog";
  31. - fname_serverlog = "logs/serverlog";
  32. - fname_glinelog = "logs/glinelog";
  33. - #fname_klinelog = "logs/klinelog";
  34. - fname_killlog = "logs/killlog";
  35. - fname_operspylog = "logs/operspylog";
  36. - #fname_ioerrorlog = "logs/ioerror";
  37. + fname_userlog = "%%LOGDIR%%/userlog";
  38. + #fname_fuserlog = "%%LOGDIR%%/fuserlog";
  39. + fname_operlog = "%%LOGDIR%%/operlog";
  40. + #fname_foperlog = "%%LOGDIR%%/foperlog";
  41. + fname_serverlog = "%%LOGDIR%%/serverlog";
  42. + fname_glinelog = "%%LOGDIR%%/glinelog";
  43. + #fname_klinelog = "%%LOGDIR%%/klinelog";
  44. + fname_killlog = "%%LOGDIR%%/killlog";
  45. + fname_operspylog = "%%LOGDIR%%/operspylog";
  46. + #fname_ioerrorlog = "%%LOGDIR%%/ioerror";
  47. };
  48. /* class {}: contain information about classes for users (OLD Y:) */
  49. @@ -354,7 +354,7 @@
  50. * A password should not be defined when this is used, see
  51. * doc/challenge.txt for more information.
  52. */
  53. - #rsa_public_key_file = "/usr/local/ircd/etc/oper.pub";
  54. + #rsa_public_key_file = "%%PREFIX%%/etc/ircd-ratbox/oper.pub";
  55. /* umodes: the specific umodes this oper gets when they oper.
  56. * If this is specified an oper will not be given oper_umodes
  57. @@ -1022,8 +1022,9 @@
  58. /* module path: paths to search for modules specified below and
  59. * in /modload.
  60. */
  61. - path = "/usr/local/ircd/modules";
  62. - path = "/usr/local/ircd/modules/autoload";
  63. + path = "%%PREFIX%%/lib/ircd-ratbox/modules/";
  64. + path = "%%PREFIX%%/lib/ircd-ratbox/modules/autoload/";
  65. + path = "%%PREFIX%%/lib/ircd-ratbox/modules/contrib/";
  66. /* module: the name of a module to load on startup/rehash */
  67. #module = "some_module.so";