summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2022-12-15 13:07:22 +0000
committerSadie Powell <sadie@witchery.services>2022-12-17 11:50:38 +0000
commitdfdcd3021a482182827ba00782acd5a53442d21a (patch)
treea1fc48af8de2c732a6222c7db9e1c9018de0b785 /data
parent5fa3d8f9297f50e25a7bad6a9bde91b9024330de (diff)
Add support for linking over UNIX sockets.
Diffstat (limited to 'data')
-rw-r--r--data/anope.example.conf8
-rw-r--r--data/stats.standalone.example.conf8
2 files changed, 10 insertions, 6 deletions
diff --git a/data/anope.example.conf b/data/anope.example.conf
index 03ba73109..79bee85ec 100644
--- a/data/anope.example.conf
+++ b/data/anope.example.conf
@@ -161,7 +161,8 @@ define
uplink
{
/*
- * The IP or hostname of the IRC server you wish to connect Anope to.
+ * The IP address, hostname, or UNIX socket path of the IRC server you wish
+ * to connect Anope to.
* Usually, you will want to connect over 127.0.0.1 (aka localhost).
*
* NOTE: On some shell providers, this will not be an option.
@@ -169,9 +170,10 @@ uplink
host = "127.0.0.1"
/*
- * Enable if Anope should connect using IPv6.
+ * The protocol that Anope should use when connecting to the uplink. Can
+ * be set to "ipv4" (the default), "ipv6", or "unix".
*/
- ipv6 = no
+ protocol = "ipv4"
/*
* Enable if Anope should connect using SSL.
diff --git a/data/stats.standalone.example.conf b/data/stats.standalone.example.conf
index 835101fee..bd40723e8 100644
--- a/data/stats.standalone.example.conf
+++ b/data/stats.standalone.example.conf
@@ -158,7 +158,8 @@ define
uplink
{
/*
- * The IP or hostname of the IRC server you wish to connect Anope to.
+ * The IP address, hostname, or UNIX socket path of the IRC server you wish
+ * to connect Anope to.
* Usually, you will want to connect over 127.0.0.1 (aka localhost).
*
* NOTE: On some shell providers, this will not be an option.
@@ -166,9 +167,10 @@ uplink
host = "127.0.0.1"
/*
- * Enable if Anope should connect using IPv6.
+ * The protocol that Anope should use when connecting to the uplink. Can
+ * be set to "ipv4" (the default), "ipv6", or "unix".
*/
- ipv6 = no
+ protocol = "ipv4"
/*
* Enable if Anope should connect using SSL.