1
0
mirror of https://github.com/anope/anope.git synced 2026-07-07 11:03:13 +02:00

Use paths relative to data/conf in the config file.

This was done in some places already but not consistently.

Closes #349.
This commit is contained in:
Sadie Powell
2024-03-19 15:39:41 +00:00
parent e488f294a1
commit bfed2e1bf5
8 changed files with 32 additions and 23 deletions
+8 -6
View File
@@ -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