diff options
| author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-04-08 20:23:00 +0000 |
|---|---|---|
| committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-04-08 20:23:00 +0000 |
| commit | 973ecb7058325931d14a9537e5e3e57595347a10 (patch) | |
| tree | 43585f36085949a1b494374572fa4e3dc25b0960 /data | |
| parent | e1ff14e0c44d0a115372a821559b782c57c793f3 (diff) | |
Rewrote sockets. This adds support for IPv6 and makes Anope capable of reconnecting if it loses connection to the uplink.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2862 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'data')
| -rw-r--r-- | data/example.conf | 38 |
1 files changed, 25 insertions, 13 deletions
diff --git a/data/example.conf b/data/example.conf index 3cc20ad31..c372ae17d 100644 --- a/data/example.conf +++ b/data/example.conf @@ -91,6 +91,11 @@ uplink host = "localhost" /* + * Enable if Services should connect using IPv6 + */ + ipv6 = no + + /* * The port to connect to. * The IRCd *MUST* be configured to listen on this port, and to accept * server connections. @@ -132,17 +137,13 @@ serverinfo /* * The local address that Services will bind to before connecting to the remote - * server. This may be useful for multihomed hosts. If neither of these are given, - * Services will let the Operating System choose the local address. If only a - * hostname is specified, Services will bind to that address but let the Operating - * System choose the local port. These directives are optional, and may be overridden - * with the -local command-line option when starting Services. + * server. This may be useful for multihomed hosts. If ommited, Services will let + * the Operating System choose the local address. This directive is optional. * - * If you don't know what this means or don't need to use it, just leave these + * If you don't know what this means or don't need to use it, just leave this * directives commented out. */ #localhost = "nowhere." - #localport = 0 /* * This directive instructs Anope which IRCd Protocol to speak when connecting. @@ -532,15 +533,26 @@ options */ #enablelogchannel = yes - /* - * Default modes for mode lock, these are set on newly registered channels. - */ + /* + * Default modes for mode lock, these are set on newly registered channels. + */ mlock = "+nrt" - /* - * Modes to set on service bots when they join channels, comment this out for no modes - */ + /* + * Modes to set on service bots when they join channels, comment this out for no modes + */ botmodes = "ao" + + /* + * How many times services should attempt to reconnect to the uplink before giving up + * Comment this out to never give up. + */ + maxretries = 10 + + /* + * How long to wait between connection retries, in seconds. + */ + retrywait = 60 } |
