about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2013-02-10 20:43:56 +0100
committerAlexander Barton <alex@barton.de>2013-02-10 20:43:56 +0100
commit628c14d65686c4c848a17381b8ef61c78dbcf405 (patch)
tree3f2d891c1045651c04df7086976054153dc3a6e7 /doc
parentac32d07aaff0e7a1c4a544353dadbf397859d8f9 (diff)
parent2cb7023e2835e9c29bec5a6d3a911894c847005d (diff)
downloadngircd-628c14d65686c4c848a17381b8ef61c78dbcf405.tar.gz
ngircd-628c14d65686c4c848a17381b8ef61c78dbcf405.zip
Merge branch 'systemd'
* systemd:
  ngircd.sock: explicitely bind to IPv4 and IPv6 addresses
  Show address and port of sockets passed-in by systemd(8)
  Check type of sockets passed-in by systemd(8)
  Adjust severity levels of some log messages
  New configuration option "IdleTimeout": exit daemon when idle
  Implement support for systemd(8) "socket activation"
  contrib/README: add more files
Diffstat (limited to 'doc')
-rw-r--r--doc/sample-ngircd.conf.tmpl7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/sample-ngircd.conf.tmpl b/doc/sample-ngircd.conf.tmpl
index 1c3998ad..822fd5d4 100644
--- a/doc/sample-ngircd.conf.tmpl
+++ b/doc/sample-ngircd.conf.tmpl
@@ -88,6 +88,13 @@
 	# to not yet (or no longer) connected servers.
 	;ConnectRetry = 60
 
+	# Number of seconds after which the whole daemon should shutdown when
+	# no connections are left active after handling at least one client
+	# (0: never, which is the default).
+	# This can be useful for testing or when ngIRCd is started using
+	# "socket activation" with systemd(8), for example.
+	;IdleTimeout = 0
+
 	# Maximum number of simultaneous in- and outbound connections the
 	# server is allowed to accept (0: unlimited):
 	;MaxConnections = 0