about summary refs log tree commit diff
path: root/doc/sample-ngircd.conf
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2005-02-04 14:24:20 +0000
committerAlexander Barton <alex@barton.de>2005-02-04 14:24:20 +0000
commit112102b10ce991340ba56e272e32bc50a73e1b05 (patch)
tree988808192f24e059740f4ee6636a88c13273d2a6 /doc/sample-ngircd.conf
parentae63ed04c52a1f116647754f84b02b1928c09921 (diff)
downloadngircd-112102b10ce991340ba56e272e32bc50a73e1b05.tar.gz
ngircd-112102b10ce991340ba56e272e32bc50a73e1b05.zip
New configuration variable "PidFile", section "[Global]": if defined,
the server writes its process ID (PID) to this file. Default: off.
Idea by Florian Westphal, <westphal@foo.fh-furtwangen.de>.
Diffstat (limited to 'doc/sample-ngircd.conf')
-rw-r--r--doc/sample-ngircd.conf8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/sample-ngircd.conf b/doc/sample-ngircd.conf
index d872b0de..a34f0480 100644
--- a/doc/sample-ngircd.conf
+++ b/doc/sample-ngircd.conf
@@ -1,4 +1,4 @@
-# $Id: sample-ngircd.conf,v 1.29 2005/01/17 12:51:17 alex Exp $
+# $Id: sample-ngircd.conf,v 1.30 2005/02/04 14:24:21 alex Exp $
 
 #
 # This is a sample configuration file for the ngIRCd, which must be adepted
@@ -67,6 +67,12 @@
 	# with root privileges!
 	;ChrootDir = /var/empty
 
+	# This tells ngircd to write its current process id to a file.
+	# Note that the pidfile is written AFTER chroot and switching uid, i.e.
+	# the Directory the pidfile resides in must be writeable by the ngircd user and
+	# exist in the chroot dir.
+	;PidFile = /var/run/ngircd/ngircd.pid
+
 	# After <PingTimeout> seconds of inactivity the server will send a
 	# PING to the peer to test whether it is alive or not.
 	;PingTimeout = 120