summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-03-19 15:39:41 +0000
committerSadie Powell <sadie@witchery.services>2024-03-19 15:51:55 +0000
commitbfed2e1bf5cfb250e17e91566546b38b4b9a34d8 (patch)
treeecf5ba2049ae1752cff533e060d2dce50983c04e /data
parente488f294a116224d8c7f89c6c4ebad2356ba7814 (diff)
Use paths relative to data/conf in the config file.
This was done in some places already but not consistently. Closes #349.
Diffstat (limited to 'data')
-rw-r--r--data/anope.example.conf8
-rw-r--r--data/modules.example.conf14
-rw-r--r--data/stats.standalone.example.conf8
3 files changed, 16 insertions, 14 deletions
diff --git a/data/anope.example.conf b/data/anope.example.conf
index 7e2536663..acabf8c14 100644
--- a/data/anope.example.conf
+++ b/data/anope.example.conf
@@ -238,15 +238,15 @@ serverinfo
/*
* The filename containing the Anope process ID. The path is relative to the
- * services root directory.
+ * data directory.
*/
- pid = "data/anope.pid"
+ pid = "anope.pid"
/*
* The filename containing the Message of the Day. The path is relative to the
- * services root directory.
+ * config directory.
*/
- motd = "conf/motd.txt"
+ motd = "motd.txt"
}
/*
diff --git a/data/modules.example.conf b/data/modules.example.conf
index 4089e9ea2..f1818e0e2 100644
--- a/data/modules.example.conf
+++ b/data/modules.example.conf
@@ -580,7 +580,8 @@ module { name = "sasl" }
name = "ssl_gnutls"
/*
- * An optional certificate and key for ssl_gnutls to give to the uplink.
+ * An optional certificate and key for ssl_gnutls to give to the uplink. All
+ * paths are relative to the config directory.
*
* You can generate your own certificate and key pair by using:
*
@@ -588,8 +589,8 @@ module { name = "sasl" }
* certtool --generate-self-signed --load-privkey privkey.pem --outfile fullchain.pem
*
*/
- cert = "data/fullchain.pem"
- key = "data/privkey.pem"
+ cert = "fullchain.pem"
+ key = "privkey.pem"
/*
* Diffie-Hellman parameters to use when acting as a server. This is only
@@ -602,7 +603,7 @@ module { name = "sasl" }
* certtool --generate-dh-params --bits 2048 --outfile dhparams.pem
*
*/
-# dhparams = "data/dhparams.pem"
+ #dhparams = "dhparams.pem"
}
/*
@@ -620,14 +621,15 @@ module { name = "sasl" }
/*
* An optional certificate and key for ssl_openssl to give to the uplink.
+ * All paths are relative to the config directory.
*
* You can generate your own certificate and key pair by using:
*
* openssl genrsa -out privkey.pem 2048
* openssl req -new -x509 -key privkey.pem -out fullchain.pem -days 1095
*/
- cert = "data/fullchain.pem"
- key = "data/privkey.pem"
+ cert = "fullchain.pem"
+ key = "privkey.pem"
/*
* If you wish to increase security you can disable support for older
diff --git a/data/stats.standalone.example.conf b/data/stats.standalone.example.conf
index cf443a36f..4a1c6f644 100644
--- a/data/stats.standalone.example.conf
+++ b/data/stats.standalone.example.conf
@@ -235,15 +235,15 @@ serverinfo
/*
* The filename containing the Anope process ID. The path is relative to the
- * services root directory.
+ * data directory.
*/
- pid = "data/anope.pid"
+ pid = "anope.pid"
/*
* The filename containing the Message of the Day. The path is relative to the
- * services root directory.
+ * config directory.
*/
- motd = "conf/motd.txt"
+ motd = "motd.txt"
}
/*