$OpenBSD: patch-doc_reference_conf,v 1.7 2015/12/17 10:30:00 ajacoutot Exp $
--- doc/reference.conf.orig	Thu Nov 19 14:34:36 2015
+++ doc/reference.conf	Wed Dec 16 20:25:50 2015
@@ -115,7 +115,7 @@ serverinfo {
 	 *    chown <ircd-user>.<ircd.group> rsa.key
 	 *    chmod 0600 rsa.key
 	 */
-#	rsa_private_key_file = "etc/rsa.key";
+#	rsa_private_key_file = "${CONFDIR}/rsa.key";
 
 	/*
 	 * ssl_certificate_file: the path to the file containing our
@@ -135,7 +135,7 @@ serverinfo {
 	 *    Common Name: irc.example.net
 	 *    E-mail: email@example.net
 	 */
-#	ssl_certificate_file = "etc/cert.pem";
+#	ssl_certificate_file = "${CONFDIR}/cert.pem";
 
 	/*
 	 * ssl_dh_param_file: path to the PEM encoded Diffie-Hellman
@@ -150,7 +150,7 @@ serverinfo {
 	 * regarding specific OpenSSL dhparam command-line options
 	 * can be found in the OpenSSL manual.
 	 */
-#	ssl_dh_param_file = "etc/dhparam.pem";
+#	ssl_dh_param_file = "${CONFDIR}/dhparam.pem";
 
 	/*
 	 * ssl_dh_elliptic_curve: defines the curve to use for the
@@ -322,7 +322,7 @@ motd {
 	/*
 	 * file: path to the actual motd file.
 	 */
-	file = "etc/german.motd";
+	file = "${CONFDIR}/german.motd";
 };
 
 /*
@@ -987,7 +987,7 @@ serverhide {
 	/*
 	 * flatten_links_file: path to the flatten links cache file.
 	 */
-	flatten_links_file = "var/lib/links.txt";
+	flatten_links_file = "${LOCALSTATEDIR}/db/ircd-hybrid/links.txt";
 
 	/*
 	 * hidden: hide this server from a /links output on servers that
@@ -1311,9 +1311,9 @@ modules {
 	 * path: other paths to search for modules specified below
 	 * and in "/module load".
 	 */
-	path = "lib/ircd-hybrid/modules";
-#	path = "lib/ircd-hybrid/modules/extra";
-	path = "lib/ircd-hybrid/modules/autoload";
+	path = "${PREFIX}/lib/ircd-hybrid/modules";
+#	path = "${PREFIX}/lib/ircd-hybrid/modules/extra";
+	path = "${PREFIX}/lib/ircd-hybrid/modules/autoload";
 
 	/* module: the name of a module to load on startup/rehash. */
 #	module = "some_module.la";
@@ -1328,49 +1328,49 @@ log {
 
 	file {
 		type = oper;
-		name = "var/log/oper.log";
+		name = "${LOGDIR}/oper.log";
 		size = unlimited;
 	};
 
 	file {
 		type = user;
-		name = "var/log/user.log";
+		name = "${LOGDIR}/user.log";
 		size = 50 megabytes;
 	};
 
 	file {
 		type = kill;
-		name = "var/log/kill.log";
+		name = "${LOGDIR}/kill.log";
 		size = 50 megabytes;
 	};
 
 	file {
 		type = kline;
-		name = "var/log/kline.log";
+		name = "${LOGDIR}/kline.log";
 		size = 50 megabytes;
 	};
 
 	file {
 		type = dline;
-		name = "var/log/dline.log";
+		name = "${LOGDIR}/dline.log";
 		size = 50 megabytes;
 	};
 
 	file {
 		type = xline;
-		name = "var/log/xline.log";
+		name = "${LOGDIR}/xline.log";
 		size = 50 megabytes;
 	};
 
 	file {
 		type = resv;
-		name = "var/log/resv.log";
+		name = "${LOGDIR}/resv.log";
 		size = 50 megabytes;
 	};
 
 	file {
 		type = debug;
-		name = "var/log/debug.log";
+		name = "${LOGDIR}/debug.log";
 		size = 50 megabytes;
 	};
 };
