summary refs log tree commit diff
path: root/man
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2013-02-04 23:15:53 +0100
committerAlexander Barton <alex@barton.de>2013-02-04 23:15:53 +0100
commitf295117fba615333908e707a656b6cd0fb0493ed (patch)
tree65ad37bdd62b1850f7f57e8e0a38156a58e71d3f /man
parent8ab097afb743061c6c9b865bdb401ba51285c347 (diff)
downloadngircd-f295117fba615333908e707a656b6cd0fb0493ed.tar.gz
ngircd-f295117fba615333908e707a656b6cd0fb0493ed.zip
New configuration option "IdleTimeout": exit daemon when idle
This patch implements a new configuration option "IdleTimeout" in the
[Limits] section of the configuration file which can be used to set a
timeout (in seconds) after which the whole daemon will shutdown when no
more connections are left active after handling at least one client.

The default is 0, "never".

This can be useful for testing or when ngIRCd is started using "socket
activation" with systemd(8), for example.
Diffstat (limited to 'man')
-rw-r--r--man/ngircd.conf.5.tmpl8
1 files changed, 7 insertions, 1 deletions
diff --git a/man/ngircd.conf.5.tmpl b/man/ngircd.conf.5.tmpl
index 859c6a8a..e5485dbf 100644
--- a/man/ngircd.conf.5.tmpl
+++ b/man/ngircd.conf.5.tmpl
@@ -1,7 +1,7 @@
 .\"
 .\" ngircd.conf(5) manual page template
 .\"
-.TH ngircd.conf 5 "Nov 2012" ngIRCd "ngIRCd Manual"
+.TH ngircd.conf 5 "Feb 2013" ngIRCd "ngIRCd Manual"
 .SH NAME
 ngircd.conf \- configuration file of ngIRCd
 .SH SYNOPSIS
@@ -170,6 +170,12 @@ should be safe, but it is wise to double-check :-)
 The server tries every <ConnectRetry> seconds to establish a link to not yet
 (or no longer) connected servers. Default: 60.
 .TP
+\fBIdleTimeout\fR (number)
+Number of seconds after which the whole daemon should shutdown when no
+connections are left active after handling at least one client (0: never). This
+can be useful for testing or when ngIRCd is started using "socket activation"
+with systemd(8), for example. Default: 0.
+.TP
 \fBMaxConnections\fR (number)
 Maximum number of simultaneous in- and outbound connections the server is
 allowed to accept (0: unlimited). Default: 0.